Example #1
0
        public virtual void Update()
        {
            if (_currentState != null)
            {
                _currentState.UpdateState();
            }

            else
            {
                Debug.LogWarning(name + " FSM Doesn't have a State");
                return;
            }
        }