コード例 #1
0
    protected IEnumerator TriggerNodeInteract(float t, ElementNode interactTarget)
    {
        yield return(new WaitForSeconds(t));

        interactTarget.OnInteract(myElemental);
        myElemental.dontLetInteract = false;
        objectOfInterest            = myElemental.player;
        CurrentState = State.FOLLOW;
    }