public IEnumerator despawn() { yield return(timeDespawn); tiles.clearUnitInTile(posX, posY); gameObject.SetActive(false); }
private IEnumerator poder() { bc.enabled = true; yield return(tempo); bc.enabled = false; areaPoder.SetActive(false); poseidon.SetActive(false); tiles.clearUnitInTile(10, 2); }