Exemple #1
0
 void OnMouseDown()
 {
     if (gameObject.name == "boat")
     {
         action.ToggleBoat();
     }
     else
     {
         action.ClickOnCharacter(character);
     }
 }