Пример #1
0
 private void OnTriggerEnter2D(Collider2D collision)
 {
     if (collision.gameObject.CompareTag("Player"))
     {
         WordSpawner wordSpawner = WordSpawner.Get_WordSpawner();
         wordSpawner.Update_curTags(spaceTag);
         wordSpawner.Initialize_curDic();
     }
 }
Пример #2
0
 protected virtual void Start()
 {
     wSpawner = WordSpawner.Get_WordSpawner();
     wDisplay = GetComponentInChildren <WordDisplay>();
     words    = new List <Word>();
 }
Пример #3
0
 private void Start()
 {
     wSpawner = WordSpawner.Get_WordSpawner();
     wOwners  = new List <WordOwner>();
 }