Fixed Object Pooling and cascading
This commit is contained in:
@@ -53,7 +53,6 @@
|
||||
// this.scGameLogic = _ScGameLogic;
|
||||
// }
|
||||
//
|
||||
// //Not every gem needs this
|
||||
// private void OnMouseDown()
|
||||
// {
|
||||
// if (this.scGameLogic.CurrentState == GameState.Move)
|
||||
@@ -63,7 +62,6 @@
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// //Not every gem needs this
|
||||
// private void CalculateAngle()
|
||||
// {
|
||||
// this.swipeAngle = Mathf.Atan2(this.finalTouchPosition.y - this.firstTouchPosition.y, this.finalTouchPosition.x - this.firstTouchPosition.x);
|
||||
@@ -73,7 +71,6 @@
|
||||
// MovePieces();
|
||||
// }
|
||||
//
|
||||
// //Not every gem needs this, maybe
|
||||
// private void MovePieces()
|
||||
// {
|
||||
// this.previousPos = this.posIndex;
|
||||
@@ -110,7 +107,6 @@
|
||||
// StartCoroutine(CheckMoveCo());
|
||||
// }
|
||||
//
|
||||
// //Why are we checking matches on the Gem itself
|
||||
// public IEnumerator CheckMoveCo()
|
||||
// {
|
||||
// this.scGameLogic.SetState(GameState.Wait);
|
||||
|
||||
Reference in New Issue
Block a user