Esempio n. 1
0
File: Bug.cs Progetto: sballew/LD47
        private IEnumerator StealSkill()
        {
            yield return(new WaitForSeconds(1f));

            if (!_skillToSteal.IsFilled)
            {
                Destroy(this.gameObject);
            }
            else
            {
                _skillToSteal.SetSlotFill(false);
                _carriedGem.enabled = true;
                _indicator.gameObject.SetActive(true);
            }
        }
Esempio n. 2
0
 private void PlaceGem()
 {
     DropGem();
     _skillSlot.SetSlotFill(true);
     GameManager.Instance.OnGemPlaced();
 }