예제 #1
0
        public CStateContainer(CObjectBase pScriptOwner, CFSM <ENUM_STATE, CLASS_STATE> pFSMOwner, CLASS_STATE pState)
        {
            p_pScriptOwner   = pScriptOwner;
            p_pStateInstance = pState;
            p_eStateName     = pState.IDictionaryItem_GetKey();

            p_pStateInstance.p_pScriptOwner = pScriptOwner;
            p_pStateInstance.p_pFSMOwner    = pFSMOwner;

            p_pStateInstance.OnAwake_State(pScriptOwner, pFSMOwner);
        }