Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     gameManager = gameManagerObj.GetComponent <FormAliGameManager>();
     gameManager.Init();
     foreach (string s in gameManager.topics.Keys)
     {
         if (!s.Equals("Confess Fail") && s.IndexOf(" Confession") == -1)
         {
             topics.Add(s);
         }
     }
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     gm      = GameObject.Find("GameManager");
     manager = gm.GetComponent <FormAliGameManager>();
 }