public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); LuaProfilerWrap.Register(L); UtilsWrap.Register(L); LogWrap.Register(L); ResManagerWrap.Register(L); UnitySingleton_ResManagerWrap.Register(L); L.BeginModule("LuaInterface"); LuaInterface_LuaInjectionStationWrap.Register(L); LuaInterface_InjectTypeWrap.Register(L); L.EndModule(); L.BeginModule("UnityEngine"); 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_PlayerPrefsWrap.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); UnityEngine_ResourcesWrap.Register(L); UnityEngine_CanvasWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_SpriteWrap.Register(L); UnityEngine_SpriteRendererWrap.Register(L); UnityEngine_RectWrap.Register(L); UnityEngine_GradientWrap.Register(L); UnityEngine_TextAnchorWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_CanvasScalerWrap.Register(L); UnityEngine_UI_GraphicRaycasterWrap.Register(L); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_RawImageWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_DropdownWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_ScrollbarWrap.Register(L); UnityEngine_UI_GridLayoutGroupWrap.Register(L); UnityEngine_UI_VerticalLayoutGroupWrap.Register(L); UnityEngine_UI_HorizontalLayoutGroupWrap.Register(L); UnityEngine_UI_OutlineWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_LayoutGroupWrap.Register(L); UnityEngine_UI_HorizontalOrVerticalLayoutGroupWrap.Register(L); UnityEngine_UI_ShadowWrap.Register(L); UnityEngine_UI_BaseMeshEffectWrap.Register(L); L.BeginModule("Button"); UnityEngine_UI_Button_ButtonClickedEventWrap.Register(L); L.EndModule(); L.BeginModule("InputField"); L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_BaseRaycasterWrap.Register(L); L.EndModule(); L.BeginModule("Events"); UnityEngine_Events_UnityEventWrap.Register(L); UnityEngine_Events_UnityEventBaseWrap.Register(L); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback); L.EndModule(); L.BeginModule("Application"); L.RegFunction("LowMemoryCallback", UnityEngine_Application_LowMemoryCallback); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); 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("Canvas"); L.RegFunction("WillRenderCanvases", UnityEngine_Canvas_WillRenderCanvases); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Predicate_int", System_Predicate_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Comparison_int", System_Comparison_int); L.RegFunction("Func_int_int", System_Func_int_int); L.RegFunction("Action_UnityEngine_AsyncOperation", System_Action_UnityEngine_AsyncOperation); L.EndModule(); L.EndModule(); L.BeginPreLoad(); L.AddPreLoad("UnityEngine.MeshRenderer", LuaOpen_UnityEngine_MeshRenderer, typeof(UnityEngine.MeshRenderer)); 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(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(LuaState L) { float t = Time.realtimeSinceStartup; L.BeginModule(null); LuaInterface_DebuggerWrap.Register(L); ByteArrayWrap.Register(L); TouchTriggerWrap.Register(L); LinkImageTextWrap.Register(L); UIScrollContentWrap.Register(L); L.BeginModule("LuaInterface"); LuaInterface_LuaInjectionStationWrap.Register(L); LuaInterface_InjectTypeWrap.Register(L); L.EndModule(); L.BeginModule("UnityEngine"); 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_AssetBundleRequestWrap.Register(L); UnityEngine_AssetBundleManifestWrap.Register(L); UnityEngine_AssetBundleCreateRequestWrap.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); UnityEngine_ResourcesWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_CanvasWrap.Register(L); UnityEngine_RenderModeWrap.Register(L); UnityEngine_SpriteWrap.Register(L); UnityEngine_RectWrap.Register(L); UnityEngine_FontWrap.Register(L); UnityEngine_FontStyleWrap.Register(L); UnityEngine_TextAnchorWrap.Register(L); UnityEngine_HorizontalWrapModeWrap.Register(L); UnityEngine_VerticalWrapModeWrap.Register(L); UnityEngine_AnimatorStateInfoWrap.Register(L); UnityEngine_AudioBehaviourWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_ContentSizeFitterWrap.Register(L); UnityEngine_UI_GraphicRaycasterWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_MaskWrap.Register(L); UnityEngine_UI_ScrollRectWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); L.BeginModule("ContentSizeFitter"); UnityEngine_UI_ContentSizeFitter_FitModeWrap.Register(L); L.EndModule(); L.BeginModule("Button"); UnityEngine_UI_Button_ButtonClickedEventWrap.Register(L); L.EndModule(); L.BeginModule("InputField"); UnityEngine_UI_InputField_OnChangeEventWrap.Register(L); UnityEngine_UI_InputField_SubmitEventWrap.Register(L); UnityEngine_UI_InputField_LineTypeWrap.Register(L); UnityEngine_UI_InputField_ContentTypeWrap.Register(L); L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput); L.EndModule(); L.BeginModule("Toggle"); UnityEngine_UI_Toggle_ToggleEventWrap.Register(L); L.EndModule(); L.BeginModule("Dropdown"); UnityEngine_UI_Dropdown_DropdownEventWrap.Register(L); L.EndModule(); L.BeginModule("ScrollRect"); UnityEngine_UI_ScrollRect_MovementTypeWrap.Register(L); L.EndModule(); L.BeginModule("Image"); UnityEngine_UI_Image_TypeWrap.Register(L); UnityEngine_UI_Image_FillMethodWrap.Register(L); UnityEngine_UI_Image_OriginHorizontalWrap.Register(L); UnityEngine_UI_Image_OriginVerticalWrap.Register(L); UnityEngine_UI_Image_Origin90Wrap.Register(L); UnityEngine_UI_Image_Origin180Wrap.Register(L); UnityEngine_UI_Image_Origin360Wrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_EventSystemWrap.Register(L); UnityEngine_EventSystems_PointerEventDataWrap.Register(L); UnityEngine_EventSystems_RaycastResultWrap.Register(L); UnityEngine_EventSystems_StandaloneInputModuleWrap.Register(L); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_BaseEventDataWrap.Register(L); UnityEngine_EventSystems_AbstractEventDataWrap.Register(L); UnityEngine_EventSystems_PointerInputModuleWrap.Register(L); UnityEngine_EventSystems_BaseInputModuleWrap.Register(L); UnityEngine_EventSystems_BaseRaycasterWrap.Register(L); L.EndModule(); L.BeginModule("Events"); UnityEngine_Events_UnityEventWrap.Register(L); UnityEngine_Events_UnityEventBaseWrap.Register(L); UnityEngine_Events_UnityEvent_intWrap.Register(L); UnityEngine_Events_UnityEvent_stringWrap.Register(L); UnityEngine_Events_UnityEvent_boolWrap.Register(L); L.RegFunction("UnityAction", UnityEngine_Events_UnityAction); L.RegFunction("UnityAction_int", UnityEngine_Events_UnityAction_int); L.RegFunction("UnityAction_string", UnityEngine_Events_UnityAction_string); L.RegFunction("UnityAction_bool", UnityEngine_Events_UnityAction_bool); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback); L.EndModule(); L.BeginModule("Application"); L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback); L.RegFunction("LowMemoryCallback", UnityEngine_Application_LowMemoryCallback); 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.BeginModule("Canvas"); L.RegFunction("WillRenderCanvases", UnityEngine_Canvas_WillRenderCanvases); L.EndModule(); L.BeginModule("Font"); L.RegFunction("FontTextureRebuildCallback", UnityEngine_Font_FontTextureRebuildCallback); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", System_Action); L.RegFunction("Predicate_int", System_Predicate_int); L.RegFunction("Action_int", System_Action_int); L.RegFunction("Comparison_int", System_Comparison_int); L.RegFunction("Func_int_int", System_Func_int_int); L.RegFunction("Action_bool", System_Action_bool); L.RegFunction("Func_bool", System_Func_bool); L.RegFunction("Action_UnityEngine_AsyncOperation", System_Action_UnityEngine_AsyncOperation); L.RegFunction("Predicate_UnityEngine_EventSystems_RaycastResult", System_Predicate_UnityEngine_EventSystems_RaycastResult); L.RegFunction("Action_UnityEngine_EventSystems_RaycastResult", System_Action_UnityEngine_EventSystems_RaycastResult); L.RegFunction("Comparison_UnityEngine_EventSystems_RaycastResult", System_Comparison_UnityEngine_EventSystems_RaycastResult); L.RegFunction("Action_UnityEngine_Font", System_Action_UnityEngine_Font); L.RegFunction("Func_string_UnityEngine_GameObject", System_Func_string_UnityEngine_GameObject); L.BeginModule("Collections"); L.BeginModule("Generic"); System_Collections_Generic_List_UnityEngine_EventSystems_RaycastResultWrap.Register(L); L.EndModule(); L.EndModule(); L.EndModule(); L.EndModule(); L.BeginPreLoad(); L.AddPreLoad("UnityEngine.MeshRenderer", LuaOpen_UnityEngine_MeshRenderer, typeof(UnityEngine.MeshRenderer)); 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(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t); }
public static void Bind(LuaState L) { float realtimeSinceStartup = Time.realtimeSinceStartup; L.BeginModule(null); 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_ApplicationWrap.Register(L); UnityEngine_ColliderWrap.Register(L); UnityEngine_TimeWrap.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_AudioSourceWrap.Register(L); UnityEngine_AnimatorWrap.Register(L); UnityEngine_InputWrap.Register(L); UnityEngine_SkinnedMeshRendererWrap.Register(L); UnityEngine_WWWFormWrap.Register(L); UnityEngine_SystemInfoWrap.Register(L); UnityEngine_MeshRendererWrap.Register(L); UnityEngine_BoxColliderWrap.Register(L); UnityEngine_RectTransformWrap.Register(L); UnityEngine_RectWrap.Register(L); UnityEngine_SpriteWrap.Register(L); UnityEngine_TextAnchorWrap.Register(L); L.BeginModule("UI"); UnityEngine_UI_TextWrap.Register(L); UnityEngine_UI_InputFieldWrap.Register(L); UnityEngine_UI_ToggleWrap.Register(L); UnityEngine_UI_ImageWrap.Register(L); UnityEngine_UI_RawImageWrap.Register(L); UnityEngine_UI_SliderWrap.Register(L); UnityEngine_UI_HorizontalLayoutGroupWrap.Register(L); UnityEngine_UI_ButtonWrap.Register(L); UnityEngine_UI_GraphicWrap.Register(L); UnityEngine_UI_MaskableGraphicWrap.Register(L); UnityEngine_UI_GraphicRaycasterWrap.Register(L); UnityEngine_UI_SelectableWrap.Register(L); UnityEngine_UI_HorizontalOrVerticalLayoutGroupWrap.Register(L); UnityEngine_UI_LayoutGroupWrap.Register(L); L.BeginModule("InputField"); L.RegFunction("OnValidateInput", new LuaCSFunction(LuaBinder.UnityEngine_UI_InputField_OnValidateInput)); L.EndModule(); L.EndModule(); L.BeginModule("EventSystems"); UnityEngine_EventSystems_UIBehaviourWrap.Register(L); UnityEngine_EventSystems_BaseRaycasterWrap.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", new LuaCSFunction(LuaBinder.UnityEngine_Events_UnityAction)); L.EndModule(); L.BeginModule("Application"); L.RegFunction("LogCallback", new LuaCSFunction(LuaBinder.UnityEngine_Application_LogCallback)); L.EndModule(); L.BeginModule("Camera"); L.RegFunction("CameraCallback", new LuaCSFunction(LuaBinder.UnityEngine_Camera_CameraCallback)); L.EndModule(); L.BeginModule("RectTransform"); L.RegFunction("ReapplyDrivenProperties", new LuaCSFunction(LuaBinder.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_PrefabLoaderWrap.Register(L); LuaFramework_SoundManagerWrap.Register(L); LuaFramework_NetworkManagerWrap.Register(L); LuaFramework_ResourceManagerWrap.Register(L); L.EndModule(); L.BeginModule("Hummingbird"); L.BeginModule("Model"); Hummingbird_Model_GameConfigInfoWrap.Register(L); Hummingbird_Model_DeviceDrainModelWrap.Register(L); L.EndModule(); L.BeginModule("SeaBattle"); L.BeginModule("Controller"); L.BeginModule("CameraControll"); Hummingbird_SeaBattle_Controller_CameraControll_HandleInputInViewPortRectWrap.Register(L); Hummingbird_SeaBattle_Controller_CameraControll_HandleCameraActionWrap.Register(L); L.EndModule(); L.BeginModule("Map"); Hummingbird_SeaBattle_Controller_Map_WorldMapControllerWrap.Register(L); Hummingbird_SeaBattle_Controller_Map_BusinessSysMapControllerWrap.Register(L); Hummingbird_SeaBattle_Controller_Map_FubenTwoDMapControllerWrap.Register(L); L.EndModule(); L.BeginModule("Guide"); Hummingbird_SeaBattle_Controller_Guide_GuideHighlightMaskWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("Utility"); Hummingbird_SeaBattle_Utility_TweenUtilWrap.Register(L); Hummingbird_SeaBattle_Utility_NumberTextWrap.Register(L); L.BeginModule("RichText"); Hummingbird_SeaBattle_Utility_RichText_RichTextWrap.Register(L); L.EndModule(); L.BeginModule("FNScrollRect"); Hummingbird_SeaBattle_Utility_FNScrollRect_FNScrollViewWrap.Register(L); L.EndModule(); L.BeginModule("Platform"); Hummingbird_SeaBattle_Utility_Platform_PlatformUtilWrap.Register(L); L.EndModule(); L.EndModule(); L.BeginModule("Common"); Hummingbird_SeaBattle_Common_FrameEventReceiverWrap.Register(L); L.EndModule(); L.EndModule(); L.EndModule(); L.BeginModule("System"); L.RegFunction("Action", new LuaCSFunction(LuaBinder.System_Action)); L.RegFunction("Action_bool", new LuaCSFunction(LuaBinder.System_Action_bool)); L.RegFunction("Action_UnityEngine_AssetBundle", new LuaCSFunction(LuaBinder.System_Action_UnityEngine_AssetBundle)); L.RegFunction("Action_UnityEngine_Objects", new LuaCSFunction(LuaBinder.System_Action_UnityEngine_Objects)); L.RegFunction("Action_UnityEngine_Vector3", new LuaCSFunction(LuaBinder.System_Action_UnityEngine_Vector3)); L.RegFunction("Action_string", new LuaCSFunction(LuaBinder.System_Action_string)); L.RegFunction("Action_int", new LuaCSFunction(LuaBinder.System_Action_int)); L.EndModule(); L.EndModule(); Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - realtimeSinceStartup); }