//int movePathCounter; // Use this for initialization void Start() { //gameController = GameObject.Find("GameController").GetComponent<GameController>(); enemyAI = GameObject.Find("GameController").GetComponent<EnemyAIController>(); charStat = gameObject.GetComponent<CharacterStatus>(); gridWorld = GameObject.Find("Grid").GetComponent<GridWorld>(); gameController = GameObject.Find("GameController").GetComponent<GameController>(); //battleController = GameObject.Find("GameController").GetComponent<Battle>(); curRow = startRow; curCol = startCol; moveCounter = charStat.GetMovementRange(); target = null; //endTurn = false; performActions = false; hasMoved = false; finishedAction = false; targetFound = false; //prevRow = curRow; //prevCol = curCol; //grid = GameObject.Find("Grid").GetComponent<GridWorld>(); //cursorMove = GameObject.Find("Cursor").GetComponent<CursorMovement>(); //cursorSelection = GameObject.Find("Cursor").GetComponent<CursorSelection>(); //charStats = this.GetComponent<CharacterStatus>(); //moveConfirmMenu = GameObject.Find("Main Camera").GetComponent<MoveConfirmMenu>(); //gameController = GameObject.Find("GameController").GetComponent<GameController>(); //gridTile = null; //moveCounter = charStats.GetMovementRange(); //showMoveCounterText = false; performMovement = false; //hasMoved = false; movePathCounter = 0; reassign = false; transform.position = gridWorld.row[startRow].column[startCol].transform.position; }