示例#1
0
 private void Awake()
 {
     grid           = GetComponent <Grid>();
     RequestManager = GetComponent <PathRequestManager>();
 }
示例#2
0
 void Awake()
 {
     Instance         = this;
     PathRequestQueue = new Queue <PathRequest>();
     pathfinding      = GetComponent <PathFinding>();
 }