using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TBTK{ public class UIInput : MonoBehaviour { public Transform touchModeIndicator; private static UIInput instance; void Awake(){ instance=this; touchModeIndicator.gameObject.SetActive(false); routeIndicator.gameObject.SetActive(false); } private List testNodeList=new List(); void OnDrawGizmos(){ Gizmos.color=Color.green; for(int i=0; i path=AStar.SearchWalkableNode(sUnit.node, node, AStar.BypassUnitCode(sUnit), sUnit.canMovePastObs); path.Insert(0, sUnit.node); Vector3[] pos=new Vector3[path.Count]; for(int i=0; i