コード例 #1
0
ファイル: Boat.cs プロジェクト: laroccrj/PirateGameServer
 // Start is called before the first frame update
 public void Init(Team team)
 {
     this.id   = BoatManager.getNextId();
     this.team = team;
     this.LoadBoatEntities();
     this.rigid = this.GetComponent <Rigidbody2D>();
 }