Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     rom       = this.gameObject.GetComponent <CatmullRom> ();
     targetPos = this.transform.position;
     pathfind  = new AStar(this.transform.position.y);
     PlayerList.AddToPlayers(this);
 }