Exemple #1
0
 private void Awake()
 {
     if (s != null)
     {
         Debug.LogError(string.Format("More than one singleton copy of {0} is detected! this shouldn't happen.", this.ToString()));
     }
     s = this;
 }
Exemple #2
0
 void DisplayHint()
 {
     GUI_HintScreen.ShowHint(infoText);
 }