void Start() { inputHdlr = InputHandler.Instance; // TODO: Replace with command pattern gridMgrInstance = FindObjectOfType <UnityGridManager>(); // Replace with singleton? charTurnInfo = this.gameObject.GetComponent <UnityCharacterTurnInfo>(); }
private void Awake() { inputHdlr = InputHandler.Instance; // TODO: Replace with command pattern gridMgrInstance = FindObjectOfType <UnityGridManager>(); // Replace with singleton? charTurnInfo = this.gameObject.GetComponent <UnityCharacterTurnInfo>(); MovableNodes = new List <GridMovableNode>(); }