Ejemplo n.º 1
0
        static int _m_OnChildStarted(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                BehaviorDesigner.Runtime.Tasks.UtilitySelector gen_to_be_invoked = (BehaviorDesigner.Runtime.Tasks.UtilitySelector)translator.FastGetCSObj(L, 1);



                {
                    int _childIndex = LuaAPI.xlua_tointeger(L, 2);

                    gen_to_be_invoked.OnChildStarted(_childIndex);



                    return(0);
                }
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
        }