public void reset() { move_script.Reset(); coast_controller = (Director.getInstance().scene_controller as BaseController).right_coast; getOnCoast(coast_controller); setPosition(coast_controller.getEmptyPosition(is_priest)); coast_controller.getOnCoast(this); }
public void getOnBoat(BoatController boat) { coast_controller = null; character.transform.parent = boat.getGameObj().transform; on_boat = true; }
public void getOnCoast(CoastController coast) { coast_controller = coast; character.transform.parent = null; on_boat = false; }