예제 #1
0
    protected override bool Execute()
    {
        if (reviveTarget != null && reviveTarget.Revive())
        {
            detectVolume.Remove(reviveTarget.gameObject);
        }

        return(true);
    }
예제 #2
0
    private void Execute()
    {
        state = AbilityState.Executing;
        timer = executeTime;

        if (reviveTarget != null && reviveTarget.Revive())
        {
            detectVolume.Remove(reviveTarget.gameObject);
        }
    }