// 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>(); }