Пример #1
0
 private void Awake()
 {
     if (Instance == null || Instance.Equals(null))
     {
         Instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
     addScoreToPlayerOne(0);
     addScoreToPlayerTwo(0);
 }