コード例 #1
0
 void Start()
 {
     PathFindingRequestDFS.RequestPath(transform.position, target.position, OnPathFound);
 }
コード例 #2
0
 void Awake()
 {
     instance    = this;
     pathfinding = GetComponent <PathfindingDFS>();
 }
コード例 #3
0
 void Awake()
 {
     requestManager = GetComponent <PathFindingRequestDFS>();
     grid           = GetComponent <Grid> ();
 }