Example #1
0
 // initialize worker with AStar tile pos
 public void Init(BEWorkerManager _Manager, int x, int z)
 {
     Manager = _Manager;
     AStar   = Manager.AStar;
     vDir    = new Vector3(0, 0, 1);
     SetPosition(x, z);
 }
Example #2
0
 void Awake()
 {
     instance = this;
 }