public void Reset() { land_model = (SSDirector.GetInstance().CurrentScenceController as Controllor).start_land; GoLand(land_model); SetPosition(land_model.GetEmptyPosition()); land_model.AddRole(this); }
public void GoBoat(BoatModel boat) { role.transform.parent = boat.GetBoat().transform; land_model = null; on_boat = true; }
public void GoLand(LandModel land) { role.transform.parent = null; land_model = land; on_boat = false; }