Пример #1
0
 public void Reset()
 {
     land_model = (SSDirector.GetInstance().CurrentScenceController as Controllor).start_land;
     GoLand(land_model);
     SetPosition(land_model.GetEmptyPosition());
     land_model.AddRole(this);
 }
Пример #2
0
 public void GoBoat(BoatModel boat)
 {
     role.transform.parent = boat.GetBoat().transform;
     land_model            = null;
     on_boat = true;
 }
Пример #3
0
 public void GoLand(LandModel land)
 {
     role.transform.parent = null;
     land_model            = land;
     on_boat = false;
 }