public void GetOnCoast(CoastController coastCtr) { character.coast = coastCtr; character.Role.transform.parent = null; character.OnBoat = false; }
//0表示正在游戏 //1表示win //-1表示输了 public JudgeController(CoastController rightCoastCtr, CoastController leftCoasrCtr, BoatController boatCtr) { this.rightCoastCtr = rightCoastCtr; this.leftCoasrCtr = leftCoasrCtr; this.boatCtr = boatCtr; }