void Start()
 {
     ObjectPool.CreatePool(WordPrefab, 5);
     //ObjectPool.CreatePool(DropPrefab, 3);
     manager = MGManager.Instance;
     LoadExternalFile();
     Load(SortingGameText);
     Invoke("SetSize", 0.1f);
 }
Пример #2
0
 void Awake()
 {
     if (instance == null)
     {
         instance = this;
     }
     else
     {
         Destroy(this.gameObject);
     }
 }
 void Start()
 {
     ObjectPool.CreatePool(VoterPrefab, VotersNeeded);
     manager = MGManager.Instance;
 }