public void getOnLand(LandController land)
 {
     landController = land;
     if (land.getType() == -1)
     {
         character.transform.rotation = Quaternion.AngleAxis(90, Vector3.up);
     }
     else
     {
         character.transform.rotation = Quaternion.AngleAxis(270, Vector3.up);
     }
     character.transform.parent = null;
     onBoat = false;
 }
 public void ClickCharacter(ICharacterController character)
 {
     if (userGUI.status != 0 || !boat.available())
     {
         return;
     }
     if (character.isOnBoat())
     {
         LandController land;
         if (boat.getBoatPos() == 0)
         {
             land = leftLand;
         }
         else
         {
             land = rightLand;
         }
         boat.getOffBoat(character.getName());
         actionManager.moveCharacter(character, land.getEmptyPosition());
         character.getOnLand(land);
         land.getOnLand(character);
     }
     else
     {
         LandController land = character.getLandController();
         if (boat.getEmptyIndex() == -1)
         {
             return;
         }
         int landPos = land.getType(), boatPos = (boat.getBoatPos() == 0) ? -1 : 1;
         if (landPos != boatPos)
         {
             return;
         }
         land.getOffLand(character.getName());
         actionManager.moveCharacter(character, boat.getEmptyPosition());
         character.getOnBoat(boat, boat.getEmptyIndex());
         boat.getOnBoat(character);
     }
     userGUI.status = checkResult();
 }