Example #1
0
 public static InGameUIWords Instance()
 {
     if (!inGameUIWords)
     {
         inGameUIWords = FindObjectOfType(typeof(InGameUIWords)) as InGameUIWords;
         if (!inGameUIWords)
         {
             Debug.LogError("There needs to be one active ObjectiveManager script on a GameObject in your scene.");
         }
     }
     return(inGameUIWords);
 }
Example #2
0
 private void Awake()
 {
     instance = this;
 }