コード例 #1
0
ファイル: KDNav2DAgent.cs プロジェクト: aaronroles/LITZombies
    //---------------------------------------------------------------------------------------------
    #endregion

    #region "OnCode"

    private void StartCurrentState
    (
        StateMachine a_nextState,
        KDAgentStates a_agentState,
        List <KD2DTile> a_steps
    )
    {
        StopAllCoroutines();
        m_currentState = a_nextState;
        States         = a_agentState;
        StartCoroutine(m_currentState(a_steps));
    }
コード例 #2
0
ファイル: KDNav2DAgent.cs プロジェクト: aaronroles/LITZombies
    //---------------------------------------------------------------------------------------------
    #endregion

    #region "OnCode"

    private void StartCurrentState
    (
        StateMachine a_nextState, 
        KDAgentStates a_agentState, 
        List<KD2DTile> a_steps
    )
    {
        StopAllCoroutines();
        m_currentState = a_nextState;
        States = a_agentState;
        StartCoroutine(m_currentState(a_steps));
    }