コード例 #1
0
 /// <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;
 }
コード例 #2
0
 private void UpdateSetCursorLocationOnNode()
 {
     this.cursorCurrentNode = gridMgrInstance.GetNode(CursorGridPosX, CursorGridPosZ);
     attackCursorInstance.transform.position = gridMgrInstance.GetNodeContainer(cursorCurrentNode).gameObject.transform.position;
 }