Beispiel #1
0
 public void Init()
 {
     NormalPath = new WayPointCollection();
     GhostPath  = new WayPointCollection();
     VendorPath = new WayPointCollection();
     RepairPath = new WayPointCollection();
     BranchPath = new WayPointCollection();
 }
Beispiel #2
0
 public Profile()
 {
     Name            = "";
     Description     = "";
     NormalWayPoints = new WayPointCollection();
     GhostWayPoints  = new WayPointCollection();
     VendorWayPoints = new WayPointCollection();
     RepairWayPoints = new WayPointCollection();
     BranchWayPoints = new WayPointCollection();
     Enemies         = new EnemyCollection();
 }
Beispiel #3
0
 public Profile()
 {
     Name = "";
     Description = "";
     NormalWayPoints = new WayPointCollection();
     GhostWayPoints = new WayPointCollection();
     VendorWayPoints = new WayPointCollection();
     RepairWayPoints = new WayPointCollection();
     BranchWayPoints = new WayPointCollection();
     Enemies = new EnemyCollection();
 }
Beispiel #4
0
 public void Init()
 {
     NormalPath = new WayPointCollection();
     GhostPath = new WayPointCollection();
     VendorPath = new WayPointCollection();
     RepairPath = new WayPointCollection();
     BranchPath = new WayPointCollection();
 }
 // Use this for initialization
 void Start()
 {
     wpc = GameObject.FindGameObjectWithTag("WayPointContainer").GetComponent ("WayPointCollection") as WayPointCollection;
     wp = wpc.GetNearestWayPoint (transform.position, wpl);
 }