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