当前位置: 首页>>代码示例>>C#>>正文


C# LuaState.EndModule方法代码示例

本文整理汇总了C#中LuaState.EndModule方法的典型用法代码示例。如果您正苦于以下问题:C# LuaState.EndModule方法的具体用法?C# LuaState.EndModule怎么用?C# LuaState.EndModule使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LuaState的用法示例。


在下文中一共展示了LuaState.EndModule方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: BindMap

 //示例方式,正常导出无需手写下面代码
 void BindMap(LuaState L)
 {
     L.BeginModule(null);
     TestAccountWrap.Register(L);
     L.BeginModule("System");
     L.BeginModule("Collections");
     L.BeginModule("Generic");
     System_Collections_Generic_Dictionary_int_TestAccountWrap.Register(L);
     System_Collections_Generic_KeyValuePair_int_TestAccountWrap.Register(L);
     L.EndModule();
     L.EndModule();
     L.EndModule();
     L.EndModule();
 }
开发者ID:RuYi51,项目名称:LuaFramework_NGUI,代码行数:15,代码来源:UseDictionary.cs

示例2: Register

    public static void Register(LuaState state, MonoBehaviour behaviour)
    {        
        state.BeginModule(null);
        state.RegFunction("WaitForSeconds", WaitForSeconds);
        state.RegFunction("WaitForFixedUpdate", WaitForFixedUpdate);
        state.RegFunction("WaitForEndOfFrame", WaitForEndOfFrame);        
        state.RegFunction("Yield", Yield);                
        state.EndModule();

        mb = behaviour;
    }
开发者ID:benbon,项目名称:tolua,代码行数:11,代码来源:LuaCoroutine.cs

示例3: Awake

    void Awake()
    {
        #if UNITY_5
        Application.logMessageReceived += ShowTips;
        #else
        Application.RegisterLogCallback(ShowTips);
        #endif
        Instance = this;
        new LuaResLoader();
        testGo = gameObject;
        state = new LuaState();
        state.Start();
        LuaBinder.Bind(state);

        state.BeginModule(null);
        state.RegFunction("TestArgError", TestArgError);
        state.RegFunction("TestTableInCo", TestTableInCo);
        state.RegFunction("TestCycle", TestCycle);
        state.RegFunction("TestNull", TestNull);
        state.RegFunction("TestAddComponent", TestAddComponent);
        state.RegFunction("TestOutOfBound", TestOutOfBound);
        state.RegFunction("TestMulStack", TestMulStack);
        state.BeginStaticLibs("TestStack");
        state.RegFunction("Test1", Test1);
        state.RegFunction("PushLuaError", PushLuaError);
        state.RegFunction("Test3", Test3);
        state.RegFunction("Test4", Test4);
        state.RegFunction("Test5", Test5);
        state.RegFunction("Test6", Test6);
        state.EndStaticLibs();
        state.EndModule();

        //state.DoFile("TestErrorStack.lua");
        state.Require("TestErrorStack");
        show = state.GetFunction("Show");
        testRay = state.GetFunction("TestRay");

        showStack = state.GetFunction("ShowStack");
        test4 = state.GetFunction("Test4");

        TestDelegate += TestD1;
        TestDelegate += TestD2;
    }
开发者ID:RuYi51,项目名称:LuaFramework_NGUI,代码行数:43,代码来源:TestLuaStack.cs

示例4: Bind

    void Bind(LuaState L)
    {
        L.BeginModule(null);
        TestEventListenerWrap.Register(state);
        L.EndModule();

        DelegateFactory.dict.Add(typeof(TestEventListener.OnClick), TestEventListener_OnClick);
        DelegateFactory.dict.Add(typeof(TestEventListener.VoidDelegate), TestEventListener_VoidDelegate);
    }
开发者ID:yuisunn,项目名称:UnityCrazy,代码行数:9,代码来源:TestDelegate.cs

示例5: Awake

    void Awake()
    {
        state = new LuaState();
        state.Start();
        LuaBinder.Bind(state);

        state.BeginModule(null);
        state.BeginStaticLibs("TestStack");
        state.RegFunction("Test1", Test1);
        state.RegFunction("Test2", Test2);
        state.RegFunction("Test3", Test3);
        state.EndStaticLibs();
        state.EndModule();

        state.DoString(script, "script");
        show = state.GetFunction("Show");
        testRay = state.GetFunction("TestRay");
    }
开发者ID:benbon,项目名称:tolua,代码行数:18,代码来源:TestLuaStack.cs

示例6: Bind

 void Bind(LuaState L)
 {
     L.BeginModule(null);
     TestEventListenerWrap.Register(state);
     L.EndModule();
 }
开发者ID:youxibuhaowana,项目名称:01ulua,代码行数:6,代码来源:TestDelegate.cs

示例7: Bind

 public static void Bind(LuaState L)
 {
     float t = Time.realtimeSinceStartup;
     L.BeginModule(null);
     LuaInterface_DebuggerWrap.Register(L);
     UIGridWrap.Register(L);
     UIWidgetContainerWrap.Register(L);
     L.BeginModule("UnityEngine");
     UnityEngine_ResourcesWrap.Register(L);
     UnityEngine_SpriteRendererWrap.Register(L);
     UnityEngine_ComponentWrap.Register(L);
     UnityEngine_TransformWrap.Register(L);
     UnityEngine_MaterialWrap.Register(L);
     UnityEngine_LightWrap.Register(L);
     UnityEngine_CameraWrap.Register(L);
     UnityEngine_AudioSourceWrap.Register(L);
     UnityEngine_BehaviourWrap.Register(L);
     UnityEngine_MonoBehaviourWrap.Register(L);
     UnityEngine_GameObjectWrap.Register(L);
     UnityEngine_TrackedReferenceWrap.Register(L);
     UnityEngine_ApplicationWrap.Register(L);
     UnityEngine_PhysicsWrap.Register(L);
     UnityEngine_ColliderWrap.Register(L);
     UnityEngine_TimeWrap.Register(L);
     UnityEngine_TextureWrap.Register(L);
     UnityEngine_Texture2DWrap.Register(L);
     UnityEngine_ShaderWrap.Register(L);
     UnityEngine_RendererWrap.Register(L);
     UnityEngine_WWWWrap.Register(L);
     UnityEngine_ScreenWrap.Register(L);
     UnityEngine_CameraClearFlagsWrap.Register(L);
     UnityEngine_AudioClipWrap.Register(L);
     UnityEngine_AssetBundleWrap.Register(L);
     UnityEngine_ParticleSystemWrap.Register(L);
     UnityEngine_AsyncOperationWrap.Register(L);
     UnityEngine_LightTypeWrap.Register(L);
     UnityEngine_SleepTimeoutWrap.Register(L);
     UnityEngine_AnimatorWrap.Register(L);
     UnityEngine_InputWrap.Register(L);
     UnityEngine_KeyCodeWrap.Register(L);
     UnityEngine_SkinnedMeshRendererWrap.Register(L);
     UnityEngine_SpaceWrap.Register(L);
     UnityEngine_AnimationBlendModeWrap.Register(L);
     UnityEngine_QueueModeWrap.Register(L);
     UnityEngine_PlayModeWrap.Register(L);
     UnityEngine_WrapModeWrap.Register(L);
     UnityEngine_QualitySettingsWrap.Register(L);
     UnityEngine_RenderSettingsWrap.Register(L);
     L.BeginModule("UI");
     UnityEngine_UI_ButtonWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     UnityEngine_UI_MaskableGraphicWrap.Register(L);
     UnityEngine_UI_GraphicWrap.Register(L);
     UnityEngine_UI_ImageWrap.Register(L);
     UnityEngine_UI_ToggleGroupWrap.Register(L);
     UnityEngine_UI_ToggleWrap.Register(L);
     UnityEngine_UI_ScrollRectWrap.Register(L);
     UnityEngine_UI_InputFieldWrap.Register(L);
     UnityEngine_UI_DropdownWrap.Register(L);
     UnityEngine_UI_SliderWrap.Register(L);
     UnityEngine_UI_SelectableWrap.Register(L);
     L.BeginModule("Button");
     UnityEngine_UI_Button_ButtonClickedEventWrap.Register(L);
     L.EndModule();
     L.BeginModule("Toggle");
     UnityEngine_UI_Toggle_ToggleEventWrap.Register(L);
     L.EndModule();
     L.BeginModule("Dropdown");
     UnityEngine_UI_Dropdown_DropdownEventWrap.Register(L);
     UnityEngine_UI_Dropdown_OptionDataWrap.Register(L);
     L.EndModule();
     L.BeginModule("Slider");
     UnityEngine_UI_Slider_SliderEventWrap.Register(L);
     L.EndModule();
     L.BeginModule("InputField");
     L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput);
     L.EndModule();
     L.EndModule();
     L.BeginModule("Events");
     UnityEngine_Events_UnityEventBaseWrap.Register(L);
     UnityEngine_Events_UnityEventWrap.Register(L);
     UnityEngine_Events_UnityEvent_boolWrap.Register(L);
     UnityEngine_Events_UnityEvent_intWrap.Register(L);
     UnityEngine_Events_UnityEvent_floatWrap.Register(L);
     L.RegFunction("UnityAction", UnityEngine_Events_UnityAction);
     L.RegFunction("UnityAction_bool", UnityEngine_Events_UnityAction_bool);
     L.RegFunction("UnityAction_int", UnityEngine_Events_UnityAction_int);
     L.RegFunction("UnityAction_float", UnityEngine_Events_UnityAction_float);
     L.EndModule();
     L.BeginModule("EventSystems");
     UnityEngine_EventSystems_UIBehaviourWrap.Register(L);
     UnityEngine_EventSystems_PointerEventDataWrap.Register(L);
     UnityEngine_EventSystems_BaseEventDataWrap.Register(L);
     UnityEngine_EventSystems_AbstractEventDataWrap.Register(L);
     L.EndModule();
     L.BeginModule("Experimental");
     L.BeginModule("Director");
     UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L);
     L.EndModule();
     L.EndModule();
//.........这里部分代码省略.........
开发者ID:yuisunn,项目名称:UnityCrazy,代码行数:101,代码来源:LuaBinder.cs

示例8: Register

    public static void Register(LuaState state, MonoBehaviour behaviour)
    {
        state.BeginModule(null);
        state.RegFunction("WaitForSeconds", WaitForSeconds);
        state.RegFunction("WaitForFixedUpdate", WaitForFixedUpdate);
        state.RegFunction("WaitForEndOfFrame", WaitForEndOfFrame);
        state.RegFunction("Yield", Yield);
        state.RegFunction("StopCoroutine", StopCoroutine);
        state.EndModule();

        state.LuaDoString(strCo, "LuaCoroutine.cs");
        mb = behaviour;
    }
开发者ID:zhangxiangsong,项目名称:some_work,代码行数:13,代码来源:LuaCoroutine.cs

示例9: Bind

 void Bind(LuaState state)
 {
     state.BeginModule(null);
     TestExportWrap.Register(state);
     state.BeginModule("TestExport");
     //TestExport_SpaceWrap.Register(state);
     state.EndModule();
     state.EndModule();
 }
开发者ID:youxibuhaowana,项目名称:01ulua,代码行数:9,代码来源:TestOverride.cs

示例10: Bind

 public static void Bind(LuaState L)
 {
     float t = Time.realtimeSinceStartup;
     L.BeginModule(null);
     LuaInterface_DebuggerWrap.Register(L);
     ViewWrap.Register(L);
     BaseWrap.Register(L);
     ManagerWrap.Register(L);
     L.BeginModule("UnityEngine");
     UnityEngine_ComponentWrap.Register(L);
     UnityEngine_TransformWrap.Register(L);
     UnityEngine_MaterialWrap.Register(L);
     UnityEngine_LightWrap.Register(L);
     UnityEngine_RigidbodyWrap.Register(L);
     UnityEngine_CameraWrap.Register(L);
     UnityEngine_AudioSourceWrap.Register(L);
     UnityEngine_BehaviourWrap.Register(L);
     UnityEngine_MonoBehaviourWrap.Register(L);
     UnityEngine_GameObjectWrap.Register(L);
     UnityEngine_TrackedReferenceWrap.Register(L);
     UnityEngine_ApplicationWrap.Register(L);
     UnityEngine_PhysicsWrap.Register(L);
     UnityEngine_ColliderWrap.Register(L);
     UnityEngine_TimeWrap.Register(L);
     UnityEngine_TextureWrap.Register(L);
     UnityEngine_Texture2DWrap.Register(L);
     UnityEngine_ShaderWrap.Register(L);
     UnityEngine_RendererWrap.Register(L);
     UnityEngine_WWWWrap.Register(L);
     UnityEngine_ScreenWrap.Register(L);
     UnityEngine_CameraClearFlagsWrap.Register(L);
     UnityEngine_AudioClipWrap.Register(L);
     UnityEngine_AssetBundleWrap.Register(L);
     UnityEngine_ParticleSystemWrap.Register(L);
     UnityEngine_AsyncOperationWrap.Register(L);
     UnityEngine_LightTypeWrap.Register(L);
     UnityEngine_SleepTimeoutWrap.Register(L);
     UnityEngine_AnimatorWrap.Register(L);
     UnityEngine_InputWrap.Register(L);
     UnityEngine_KeyCodeWrap.Register(L);
     UnityEngine_SkinnedMeshRendererWrap.Register(L);
     UnityEngine_SpaceWrap.Register(L);
     UnityEngine_MeshRendererWrap.Register(L);
     UnityEngine_ParticleEmitterWrap.Register(L);
     UnityEngine_ParticleRendererWrap.Register(L);
     UnityEngine_ParticleAnimatorWrap.Register(L);
     UnityEngine_BoxColliderWrap.Register(L);
     UnityEngine_MeshColliderWrap.Register(L);
     UnityEngine_SphereColliderWrap.Register(L);
     UnityEngine_CharacterControllerWrap.Register(L);
     UnityEngine_CapsuleColliderWrap.Register(L);
     UnityEngine_AnimationWrap.Register(L);
     UnityEngine_AnimationClipWrap.Register(L);
     UnityEngine_AnimationStateWrap.Register(L);
     UnityEngine_AnimationBlendModeWrap.Register(L);
     UnityEngine_QueueModeWrap.Register(L);
     UnityEngine_PlayModeWrap.Register(L);
     UnityEngine_WrapModeWrap.Register(L);
     UnityEngine_QualitySettingsWrap.Register(L);
     UnityEngine_RenderSettingsWrap.Register(L);
     UnityEngine_BlendWeightsWrap.Register(L);
     UnityEngine_RenderTextureWrap.Register(L);
     UnityEngine_RectTransformWrap.Register(L);
     L.BeginModule("UI");
     UnityEngine_UI_TextWrap.Register(L);
     UnityEngine_UI_MaskableGraphicWrap.Register(L);
     UnityEngine_UI_GraphicWrap.Register(L);
     L.EndModule();
     L.BeginModule("EventSystems");
     UnityEngine_EventSystems_UIBehaviourWrap.Register(L);
     L.EndModule();
     L.BeginModule("Events");
     L.RegFunction("UnityAction", UnityEngine_Events_UnityAction);
     L.EndModule();
     L.BeginModule("Camera");
     L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback);
     L.EndModule();
     L.BeginModule("Application");
     L.RegFunction("LogCallback", UnityEngine_Application_LogCallback);
     L.EndModule();
     L.BeginModule("AudioClip");
     L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback);
     L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback);
     L.EndModule();
     L.BeginModule("RectTransform");
     L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties);
     L.EndModule();
     L.EndModule();
     L.BeginModule("LuaFramework");
     LuaFramework_UtilWrap.Register(L);
     LuaFramework_AppConstWrap.Register(L);
     LuaFramework_LuaHelperWrap.Register(L);
     LuaFramework_ByteBufferWrap.Register(L);
     LuaFramework_LuaBehaviourWrap.Register(L);
     LuaFramework_GameManagerWrap.Register(L);
     LuaFramework_LuaManagerWrap.Register(L);
     LuaFramework_PanelManagerWrap.Register(L);
     LuaFramework_SoundManagerWrap.Register(L);
     LuaFramework_TimerManagerWrap.Register(L);
     LuaFramework_ThreadManagerWrap.Register(L);
//.........这里部分代码省略.........
开发者ID:zhangxiangsong,项目名称:some_work,代码行数:101,代码来源:LuaBinder.cs

示例11: Bind

	public static void Bind(LuaState L)
	{
		float t = Time.realtimeSinceStartup;
		L.BeginModule(null);
		LuaInterface_DebuggerWrap.Register(L);
		LuaBehaviourWrap.Register(L);
		GameResFactoryWrap.Register(L);
		BaseWrap.Register(L);
		ManagerWrap.Register(L);
		ByteBufferWrap.Register(L);
		NetworkManagerWrap.Register(L);
		LuaHelperWrap.Register(L);
		LeanTweenTypeWrap.Register(L);
		LTDescrImplWrap.Register(L);
		LTBezierWrap.Register(L);
		LTBezierPathWrap.Register(L);
		LTEventWrap.Register(L);
		LTSplineWrap.Register(L);
		LeanTweenWrap.Register(L);
		LeanAudioWrap.Register(L);
		L.BeginModule("UnityEngine");
		UnityEngine_ComponentWrap.Register(L);
		UnityEngine_TransformWrap.Register(L);
		UnityEngine_MaterialWrap.Register(L);
		UnityEngine_LightWrap.Register(L);
		UnityEngine_RigidbodyWrap.Register(L);
		UnityEngine_CameraWrap.Register(L);
		UnityEngine_AudioSourceWrap.Register(L);
		UnityEngine_BehaviourWrap.Register(L);
		UnityEngine_MonoBehaviourWrap.Register(L);
		UnityEngine_GameObjectWrap.Register(L);
		UnityEngine_TrackedReferenceWrap.Register(L);
		UnityEngine_ApplicationWrap.Register(L);
		UnityEngine_PhysicsWrap.Register(L);
		UnityEngine_ColliderWrap.Register(L);
		UnityEngine_TimeWrap.Register(L);
		UnityEngine_TextureWrap.Register(L);
		UnityEngine_Texture2DWrap.Register(L);
		UnityEngine_ShaderWrap.Register(L);
		UnityEngine_RendererWrap.Register(L);
		UnityEngine_WWWWrap.Register(L);
		UnityEngine_ScreenWrap.Register(L);
		UnityEngine_CameraClearFlagsWrap.Register(L);
		UnityEngine_AudioClipWrap.Register(L);
		UnityEngine_AssetBundleWrap.Register(L);
		UnityEngine_ParticleSystemWrap.Register(L);
		UnityEngine_AsyncOperationWrap.Register(L);
		UnityEngine_LightTypeWrap.Register(L);
		UnityEngine_SleepTimeoutWrap.Register(L);
		UnityEngine_AnimatorWrap.Register(L);
		UnityEngine_InputWrap.Register(L);
		UnityEngine_KeyCodeWrap.Register(L);
		UnityEngine_SkinnedMeshRendererWrap.Register(L);
		UnityEngine_SpaceWrap.Register(L);
		UnityEngine_MeshRendererWrap.Register(L);
		UnityEngine_ParticleEmitterWrap.Register(L);
		UnityEngine_ParticleRendererWrap.Register(L);
		UnityEngine_ParticleAnimatorWrap.Register(L);
		UnityEngine_BoxColliderWrap.Register(L);
		UnityEngine_MeshColliderWrap.Register(L);
		UnityEngine_SphereColliderWrap.Register(L);
		UnityEngine_CharacterControllerWrap.Register(L);
		UnityEngine_CapsuleColliderWrap.Register(L);
		UnityEngine_AnimationWrap.Register(L);
		UnityEngine_AnimationClipWrap.Register(L);
		UnityEngine_AnimationStateWrap.Register(L);
		UnityEngine_AnimationBlendModeWrap.Register(L);
		UnityEngine_QueueModeWrap.Register(L);
		UnityEngine_PlayModeWrap.Register(L);
		UnityEngine_WrapModeWrap.Register(L);
		UnityEngine_QualitySettingsWrap.Register(L);
		UnityEngine_RenderSettingsWrap.Register(L);
		UnityEngine_BlendWeightsWrap.Register(L);
		UnityEngine_RenderTextureWrap.Register(L);
		UnityEngine_SpriteWrap.Register(L);
		UnityEngine_RectWrap.Register(L);
		UnityEngine_RectTransformWrap.Register(L);
		UnityEngine_RectTransformUtilityWrap.Register(L);
		UnityEngine_CanvasWrap.Register(L);
		L.BeginModule("Experimental");
		L.BeginModule("Director");
		UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L);
		L.EndModule();
		L.EndModule();
		L.BeginModule("UI");
		UnityEngine_UI_GraphicWrap.Register(L);
		UnityEngine_UI_MaskableGraphicWrap.Register(L);
		UnityEngine_UI_ImageWrap.Register(L);
		UnityEngine_UI_TextWrap.Register(L);
		UnityEngine_UI_ToggleWrap.Register(L);
		UnityEngine_UI_ToggleGroupWrap.Register(L);
		UnityEngine_UI_InputFieldWrap.Register(L);
		UnityEngine_UI_LayoutGroupWrap.Register(L);
		UnityEngine_UI_HorizontalOrVerticalLayoutGroupWrap.Register(L);
		UnityEngine_UI_VerticalLayoutGroupWrap.Register(L);
		UnityEngine_UI_HorizontalLayoutGroupWrap.Register(L);
		UnityEngine_UI_ContentSizeFitterWrap.Register(L);
		UnityEngine_UI_DropdownWrap.Register(L);
		UnityEngine_UI_MaskWrap.Register(L);
		UnityEngine_UI_RectMask2DWrap.Register(L);
//.........这里部分代码省略.........
开发者ID:woshihuo12,项目名称:UnityHello,代码行数:101,代码来源:LuaBinder.cs

示例12: Bind

 void Bind(LuaState state)
 {
     state.BeginModule(null);
     TestProtolWrap.Register(state);
     state.EndModule();
 }
开发者ID:tkial,项目名称:tolua,代码行数:6,代码来源:TestProtoBuffer.cs

示例13: Bind

 public static void Bind(LuaState L)
 {
     float t = Time.realtimeSinceStartup;
     L.BeginModule(null);
     DebuggerWrap.Register(L);
     ViewWrap.Register(L);
     BaseWrap.Register(L);
     ManagerWrap.Register(L);
     L.BeginModule("UnityEngine");
     UnityEngine_ComponentWrap.Register(L);
     UnityEngine_BehaviourWrap.Register(L);
     UnityEngine_MonoBehaviourWrap.Register(L);
     UnityEngine_GameObjectWrap.Register(L);
     UnityEngine_TransformWrap.Register(L);
     UnityEngine_CanvasWrap.Register(L);
     UnityEngine_TrackedReferenceWrap.Register(L);
     UnityEngine_ApplicationWrap.Register(L);
     UnityEngine_PhysicsWrap.Register(L);
     UnityEngine_ColliderWrap.Register(L);
     UnityEngine_TimeWrap.Register(L);
     UnityEngine_TextureWrap.Register(L);
     UnityEngine_Texture2DWrap.Register(L);
     UnityEngine_ShaderWrap.Register(L);
     UnityEngine_MaterialWrap.Register(L);
     UnityEngine_RendererWrap.Register(L);
     UnityEngine_WWWWrap.Register(L);
     UnityEngine_ScreenWrap.Register(L);
     UnityEngine_CameraWrap.Register(L);
     UnityEngine_CameraClearFlagsWrap.Register(L);
     UnityEngine_AudioClipWrap.Register(L);
     UnityEngine_AudioSourceWrap.Register(L);
     UnityEngine_AssetBundleWrap.Register(L);
     UnityEngine_ParticleSystemWrap.Register(L);
     UnityEngine_AsyncOperationWrap.Register(L);
     UnityEngine_LightWrap.Register(L);
     UnityEngine_LightTypeWrap.Register(L);
     UnityEngine_SleepTimeoutWrap.Register(L);
     UnityEngine_AnimatorWrap.Register(L);
     UnityEngine_InputWrap.Register(L);
     UnityEngine_KeyCodeWrap.Register(L);
     UnityEngine_SkinnedMeshRendererWrap.Register(L);
     UnityEngine_SpaceWrap.Register(L);
     UnityEngine_AnimationBlendModeWrap.Register(L);
     UnityEngine_QueueModeWrap.Register(L);
     UnityEngine_PlayModeWrap.Register(L);
     UnityEngine_WrapModeWrap.Register(L);
     UnityEngine_QualitySettingsWrap.Register(L);
     UnityEngine_RenderSettingsWrap.Register(L);
     UnityEngine_RectTransformWrap.Register(L);
     L.BeginModule("UI");
     UnityEngine_UI_CanvasScalerWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     L.EndModule();
     L.BeginModule("Experimental");
     L.BeginModule("Director");
     UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L);
     L.EndModule();
     L.EndModule();
     L.BeginModule("Events");
     L.RegFunction("UnityAction", UnityEngine_Events_UnityAction);
     L.EndModule();
     L.EndModule();
     L.BeginModule("LuaFramework");
     LuaFramework_UtilWrap.Register(L);
     LuaFramework_AppConstWrap.Register(L);
     LuaFramework_LuaHelperWrap.Register(L);
     LuaFramework_ByteBufferWrap.Register(L);
     LuaFramework_LuaBehaviourWrap.Register(L);
     LuaFramework_GameManagerWrap.Register(L);
     LuaFramework_LuaManagerWrap.Register(L);
     LuaFramework_PanelManagerWrap.Register(L);
     LuaFramework_SoundManagerWrap.Register(L);
     LuaFramework_TimerManagerWrap.Register(L);
     LuaFramework_ThreadManagerWrap.Register(L);
     LuaFramework_NetworkManagerWrap.Register(L);
     LuaFramework_ResourceManagerWrap.Register(L);
     L.EndModule();
     L.BeginModule("System");
     L.RegFunction("Action", System_Action);
     L.RegFunction("Action_NotiData", System_Action_NotiData);
     L.RegFunction("Action_UnityEngine_Objects", System_Action_UnityEngine_Objects);
     L.EndModule();
     L.EndModule();
     L.BeginPreLoad();
     L.AddPreLoad("UnityEngine.MeshRenderer", LuaOpen_UnityEngine_MeshRenderer, typeof(UnityEngine.MeshRenderer));
     L.AddPreLoad("UnityEngine.ParticleEmitter", LuaOpen_UnityEngine_ParticleEmitter, typeof(UnityEngine.ParticleEmitter));
     L.AddPreLoad("UnityEngine.ParticleRenderer", LuaOpen_UnityEngine_ParticleRenderer, typeof(UnityEngine.ParticleRenderer));
     L.AddPreLoad("UnityEngine.ParticleAnimator", LuaOpen_UnityEngine_ParticleAnimator, typeof(UnityEngine.ParticleAnimator));
     L.AddPreLoad("UnityEngine.BoxCollider", LuaOpen_UnityEngine_BoxCollider, typeof(UnityEngine.BoxCollider));
     L.AddPreLoad("UnityEngine.MeshCollider", LuaOpen_UnityEngine_MeshCollider, typeof(UnityEngine.MeshCollider));
     L.AddPreLoad("UnityEngine.SphereCollider", LuaOpen_UnityEngine_SphereCollider, typeof(UnityEngine.SphereCollider));
     L.AddPreLoad("UnityEngine.CharacterController", LuaOpen_UnityEngine_CharacterController, typeof(UnityEngine.CharacterController));
     L.AddPreLoad("UnityEngine.CapsuleCollider", LuaOpen_UnityEngine_CapsuleCollider, typeof(UnityEngine.CapsuleCollider));
     L.AddPreLoad("UnityEngine.Animation", LuaOpen_UnityEngine_Animation, typeof(UnityEngine.Animation));
     L.AddPreLoad("UnityEngine.AnimationClip", LuaOpen_UnityEngine_AnimationClip, typeof(UnityEngine.AnimationClip));
     L.AddPreLoad("UnityEngine.AnimationState", LuaOpen_UnityEngine_AnimationState, typeof(UnityEngine.AnimationState));
     L.AddPreLoad("UnityEngine.BlendWeights", LuaOpen_UnityEngine_BlendWeights, typeof(UnityEngine.BlendWeights));
     L.AddPreLoad("UnityEngine.RenderTexture", LuaOpen_UnityEngine_RenderTexture, typeof(UnityEngine.RenderTexture));
     L.AddPreLoad("UnityEngine.Rigidbody", LuaOpen_UnityEngine_Rigidbody, typeof(UnityEngine.Rigidbody));
     L.EndPreLoad();
//.........这里部分代码省略.........
开发者ID:youxibuhaowana,项目名称:01ulua,代码行数:101,代码来源:LuaBinder.cs


注:本文中的LuaState.EndModule方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。