void Start()
    {
        pCon      = GetComponent <PlayerController>();
        pAudio    = GetComponent <PlayerAudioController>();
        pFeedback = GetComponent <PlayerFeedback>();
        pInteract = GetComponent <PlayerHandleInteract>();
        windDial  = Toolbox.GetInstance().GetPlayerManager().GetWindDial();
        animator  = GetComponent <Animator>();

        currentPhase           = hurtPhase0;
        healthNodeFlashRoutine = IInjuredFlashRed();
    }
Beispiel #2
0
    //// <<--------------------------------------------- SET UP PLAYER HEALTH SYSTEM ------------------------------------------- >> //

    //public void SetPlayerHealth(WindDial _windDial)
    //{
    //    pWindDial = _windDial;
    //}

    //public WindDial GetWindDial()
    //{
    //    return pWindDial;
    //}


    // <<--------------------------------------------- SET UP WIND DIAL ------------------------------------------- >> //

    public void SetWindDial(WindDial _windDial)
    {
        pWindDial = _windDial;
    }