コード例 #1
0
ファイル: Energy.cs プロジェクト: DR9885/Possessed
    public IEnumerator Execute(GhostScript ghost)
    {
        enabled = false;

        StartCoroutine(ghost.Absorb(this));

        yield return StartCoroutine(NotifyUser());

        ghost.Energy += _Value;

        Destroy(gameObject);
    }