Ejemplo n.º 1
0
    void Start()
    {
        //change to inspector later
        stateMachine = GetComponent <StateMachine2>();

        MakeStates();

        stateMachine.SetState(StateID2.Idle);

        anim.SetInteger("AnimState", 0);
        Debug.Log("done idle");
    }