Exemple #1
0
 public void StartSpin(float _spinDuration, float _spinSpeed, float _stunDuration)
 {
     spinDuration = _spinDuration;
     spinSpeed    = _spinSpeed;
     stunDuration = _stunDuration;
     stateMachine.SendInput(PlayerInputs.SPIN);
 }
Exemple #2
0
    public override void IAInitialize(CombatDirector _director)
    {
        director = _director;
        if (sm == null)
        {
            SetStates();
        }
        else
        {
            sm.SendInput(JabaliInputs.IDLE);
        }

        canupdate = true;
    }
 public override void OnPlayerEnterInThisRoom(Transform who)
 {
     sm.SendInput(DummyEnemyInputs.DISABLE);
 }