Ejemplo n.º 1
0
    public IEnumerator Execute(GhostScript ghost)
    {
        enabled = false;

        StartCoroutine(ghost.Absorb(this));

        yield return StartCoroutine(NotifyUser());

        ghost.Energy += _Value;

        Destroy(gameObject);
    }