コード例 #1
0
ファイル: Platform.cs プロジェクト: MrVovun/ShipGame
 public void OccupyPlatform()
 {
     shipGen         = GameObject.FindGameObjectWithTag("GameController").GetComponent <ShipGenerator> ();
     ship            = shipGen.GetFirstShipInList();
     ship.myPlatform = this;
     ship.StartCoroutine("MoveTo");
 }