Ejemplo n.º 1
0
 public void finishHole()
 {
     if (m_finishedHole == false)
     {
         #if PHOTON_MULTIPLAYER
         GolfManager.setPlayersScore(PhotonNetwork.player.ID, getTotalScore());
         #else
         GolfManager.setPlayersScore(0, getTotalScore());
         #endif
         GolfManager.finishHole();
         m_finishedHole = true;
     }
 }