示例#1
0
 void Awake()
 {
     requestManager = GetComponent <OnlinePathRequestManager>();
     sor            = GameObject.Find("A*");
     //grid = GetComponent<Grid>();
     grid = sor.GetComponent <Grid>();
 }
 void Awake()
 {
     instance    = this;
     pathfinding = GetComponent <OnlinePathfinding>();
 }