Exemple #1
0
 void Awake()
 {
     requestManager = GetComponent <NodePathRequestManager>();
 }
 void Awake()
 {
     requestManager = GetComponent<NodePathRequestManager>();
 }
 void Awake()
 {
     instance = this;
     pathfinding = GetComponent<NodeAStarPathfinding>();
 }
Exemple #4
0
 public void requestNewPath(ProtocolClient client, Node pathEnd, Action <List <Node>, bool> callback)
 {
     NodePathRequestManager.RequestPath(client.transform.position, pathEnd.worldPosition, getDynamicUnwalkable(client, 2), callback);
 }
Exemple #5
0
 void Awake()
 {
     instance    = this;
     pathfinding = GetComponent <NodeAStarPathfinding>();
 }