コード例 #1
0
 // Use this for initialization
 void Start()
 {
     currentState           = turnState.START;
     player.LeftHand_state  = true;
     player.RightHand_state = true;
     CSM = GameObject.Find("BattleManager").GetComponent <Combat_statemachine> ();
 }
コード例 #2
0
    // inintialized enemy state
    void Start()
    {
        currentState          = turnState.START;
        enemy.LeftHand_state  = true;
        enemy.RightHand_state = true;

        CSM           = GameObject.Find("BattleManager").GetComponent <Combat_statemachine> ();
        startPosition = transform.position;
    }
コード例 #3
0
    // inintialized enemy state
    void Start()
    {
        ani.GetComponent <Animator>();

        currentState          = turnState.START;
        enemy.LeftHand_state  = true;
        enemy.RightHand_state = true;
        ani.SetBool("lefthand", true);
        ani.SetBool("righthand", true);
        CSM           = GameObject.Find("BattleManager").GetComponent <Combat_statemachine>();
        startPosition = transform.position;
    }