示例#1
0
 public void Init()
 {
     NormalPath = new WayPointCollection();
     GhostPath  = new WayPointCollection();
     VendorPath = new WayPointCollection();
     RepairPath = new WayPointCollection();
     BranchPath = new WayPointCollection();
 }
示例#2
0
文件: Profile.cs 项目: uvbs/babbot
 public Profile()
 {
     Name            = "";
     Description     = "";
     NormalWayPoints = new WayPointCollection();
     GhostWayPoints  = new WayPointCollection();
     VendorWayPoints = new WayPointCollection();
     RepairWayPoints = new WayPointCollection();
     BranchWayPoints = new WayPointCollection();
     Enemies         = new EnemyCollection();
 }
示例#3
0
文件: Profile.cs 项目: gaknoia/babbot
 public Profile()
 {
     Name = "";
     Description = "";
     NormalWayPoints = new WayPointCollection();
     GhostWayPoints = new WayPointCollection();
     VendorWayPoints = new WayPointCollection();
     RepairWayPoints = new WayPointCollection();
     BranchWayPoints = new WayPointCollection();
     Enemies = new EnemyCollection();
 }
示例#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);
 }