public override void OnEnter()
    {
        // Lets search for a navigation path
        if (_navigationPath == null)
        {
            _navigationPath = FindObjectOfType <AINavigationPath>();
        }

        _stateMachine.Animator.SetBool("Alert", false);
    }
Beispiel #2
0
    public override void OnEnter()
    {
        // Lets search for a navigation path
        if (_navigationPath == null)
        {
            _navigationPath = FindObjectOfType <AINavigationPath>();
        }

        AISoundManager.SetPlayingSoundType(ESoundType.Roaming);
    }