Beispiel #1
0
    void Update()
    {
        //Debug.Log("Current State: " + currentState);
        currentState.CheckTransitions();
        currentState.Act();

        //if player collides with enemy capsulte collider, call Enemy cast to check if player is in front of any other colliders

        //Debug.Log(currentState + "Can you set this?");
    }