/// <summary> /// Lock the character's position to the node the player has selected. /// </summary> private void UpdateSetLocationOnNode() { this.transform.position = gridMgrInstance.GetNodeContainer(CurrentNode).gameObject.transform.position; }
private void UpdateSetCursorLocationOnNode() { this.cursorCurrentNode = gridMgrInstance.GetNode(CursorGridPosX, CursorGridPosZ); attackCursorInstance.transform.position = gridMgrInstance.GetNodeContainer(cursorCurrentNode).gameObject.transform.position; }