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); } }
private void PlaceGem() { DropGem(); _skillSlot.SetSlotFill(true); GameManager.Instance.OnGemPlaced(); }