Exemple #1
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || wrapList.Contains(type))
        {
            return;
        }
        wrapList.Add(type); type += "Wrap";
        switch (type)
        {
        case "AnimationBlendModeWrap": AnimationBlendModeWrap.Register(L); break;

        case "AnimationClipWrap": AnimationClipWrap.Register(L); break;

        case "AnimationStateWrap": AnimationStateWrap.Register(L); break;

        case "AnimatorWrap": AnimatorWrap.Register(L); break;

        case "ApplicationWrap": ApplicationWrap.Register(L); break;

        case "AssetBundleWrap": AssetBundleWrap.Register(L); break;

        case "AsyncOperationWrap": AsyncOperationWrap.Register(L); break;

        case "AudioClipWrap": AudioClipWrap.Register(L); break;

        case "AudioSourceWrap": AudioSourceWrap.Register(L); break;

        case "BaseLuaWrap": BaseLuaWrap.Register(L); break;

        case "BehaviourWrap": BehaviourWrap.Register(L); break;

        case "BlendWeightsWrap": BlendWeightsWrap.Register(L); break;

        case "BoxColliderWrap": BoxColliderWrap.Register(L); break;

        case "ButtonWrap": ButtonWrap.Register(L); break;

        case "Button_ButtonClickedEventWrap": Button_ButtonClickedEventWrap.Register(L); break;

        case "ByteBufferWrap": ByteBufferWrap.Register(L); break;

        case "CameraClearFlagsWrap": CameraClearFlagsWrap.Register(L); break;

        case "CameraWrap": CameraWrap.Register(L); break;

        case "CharacterControllerWrap": CharacterControllerWrap.Register(L); break;

        case "ColliderWrap": ColliderWrap.Register(L); break;

        case "ComponentWrap": ComponentWrap.Register(L); break;

        case "DebuggerWrap": DebuggerWrap.Register(L); break;

        case "DelegateFactoryWrap": DelegateFactoryWrap.Register(L); break;

        case "DelegateWrap": DelegateWrap.Register(L); break;

        case "DG_Tweening_DOTweenWrap": DG_Tweening_DOTweenWrap.Register(L); break;

        case "DG_Tweening_LoopTypeWrap": DG_Tweening_LoopTypeWrap.Register(L); break;

        case "DG_Tweening_RotateModeWrap": DG_Tweening_RotateModeWrap.Register(L); break;

        case "DG_Tweening_SequenceWrap": DG_Tweening_SequenceWrap.Register(L); break;

        case "DG_Tweening_TweenerWrap": DG_Tweening_TweenerWrap.Register(L); break;

        case "DG_Tweening_TweenWrap": DG_Tweening_TweenWrap.Register(L); break;

        case "EnumWrap": EnumWrap.Register(L); break;

        case "GameObjectWrap": GameObjectWrap.Register(L); break;

        case "GraphicWrap": GraphicWrap.Register(L); break;

        case "IEnumeratorWrap": IEnumeratorWrap.Register(L); break;

        case "ImageWrap": ImageWrap.Register(L); break;

        case "InputWrap": InputWrap.Register(L); break;

        case "IOLuaHelperWrap": IOLuaHelperWrap.Register(L); break;

        case "iooWrap": iooWrap.Register(L); break;

        case "KeyCodeWrap": KeyCodeWrap.Register(L); break;

        case "LightTypeWrap": LightTypeWrap.Register(L); break;

        case "LightWrap": LightWrap.Register(L); break;

        case "LuaHelperWrap": LuaHelperWrap.Register(L); break;

        case "MaskableGraphicWrap": MaskableGraphicWrap.Register(L); break;

        case "MaterialWrap": MaterialWrap.Register(L); break;

        case "MeshColliderWrap": MeshColliderWrap.Register(L); break;

        case "MeshRendererWrap": MeshRendererWrap.Register(L); break;

        case "MonoBehaviourWrap": MonoBehaviourWrap.Register(L); break;

        case "NetworkManagerWrap": NetworkManagerWrap.Register(L); break;

        case "ObjectWrap": ObjectWrap.Register(L); break;

        case "ParticleAnimatorWrap": ParticleAnimatorWrap.Register(L); break;

        case "ParticleEmitterWrap": ParticleEmitterWrap.Register(L); break;

        case "ParticleRendererWrap": ParticleRendererWrap.Register(L); break;

        case "ParticleSystemWrap": ParticleSystemWrap.Register(L); break;

        case "PhysicsWrap": PhysicsWrap.Register(L); break;

        case "PlayModeWrap": PlayModeWrap.Register(L); break;

        case "PoolManagerWrap": PoolManagerWrap.Register(L); break;

        case "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.Register(L); break;

        case "RectTransformUtilityWrap": RectTransformUtilityWrap.Register(L); break;

        case "RectTransformWrap": RectTransformWrap.Register(L); break;

        case "RendererWrap": RendererWrap.Register(L); break;

        case "RenderSettingsWrap": RenderSettingsWrap.Register(L); break;

        case "RenderTextureWrap": RenderTextureWrap.Register(L); break;

        case "ScreenWrap": ScreenWrap.Register(L); break;

        case "SkinnedMeshRendererWrap": SkinnedMeshRendererWrap.Register(L); break;

        case "SleepTimeoutWrap": SleepTimeoutWrap.Register(L); break;

        case "SpaceWrap": SpaceWrap.Register(L); break;

        case "SphereColliderWrap": SphereColliderWrap.Register(L); break;

        case "stringWrap": stringWrap.Register(L); break;

        case "System_ObjectWrap": System_ObjectWrap.Register(L); break;

        case "TestDelegateListenerWrap": TestDelegateListenerWrap.Register(L); break;

        case "TestEventListenerWrap": TestEventListenerWrap.Register(L); break;

        case "TestLuaDelegateWrap": TestLuaDelegateWrap.Register(L); break;

        case "TextureWrap": TextureWrap.Register(L); break;

        case "TextWrap": TextWrap.Register(L); break;

        case "TimerManagerWrap": TimerManagerWrap.Register(L); break;

        case "TimeWrap": TimeWrap.Register(L); break;

        case "TouchPhaseWrap": TouchPhaseWrap.Register(L); break;

        case "TrackedReferenceWrap": TrackedReferenceWrap.Register(L); break;

        case "TransformWrap": TransformWrap.Register(L); break;

        case "TypeWrap": TypeWrap.Register(L); break;

        case "UIBehaviourWrap": UIBehaviourWrap.Register(L); break;

        case "UIEventListenerWrap": UIEventListenerWrap.Register(L); break;

        case "UIFollowTargetWrap": UIFollowTargetWrap.Register(L); break;

        case "UIProgressWrap": UIProgressWrap.Register(L); break;

        case "UnityEngine_Events_UnityEventBaseWrap": UnityEngine_Events_UnityEventBaseWrap.Register(L); break;

        case "UnityEngine_Events_UnityEventWrap": UnityEngine_Events_UnityEventWrap.Register(L); break;

        case "UtilCommonWrap": UtilCommonWrap.Register(L); break;

        case "UtilMathWrap": UtilMathWrap.Register(L); break;

        case "UtilWrap": UtilWrap.Register(L); break;
        }
    }
Exemple #2
0
    public static void Bind(LuaState L)
    {
        float t = Time.realtimeSinceStartup;

        L.BeginModule(null);
        LuaInterface_DebuggerWrap.Register(L);
        eyeWrap.Register(L);
        UtilsWrap.Register(L);
        ConstWrap.Register(L);
        GlobalWrap.Register(L);
        ShareDataWrap.Register(L);
        ByteBufferWrap.Register(L);
        FileUtilWrap.Register(L);
        StringUtilWrap.Register(L);
        TableUtilWrap.Register(L);
        LogUtilWrap.Register(L);
        IniUtilWrap.Register(L);
        PathUtilWrap.Register(L);
        GameManagerWrap.Register(L);
        ResourceManagerWrap.Register(L);
        ObjectPoolManagerWrap.Register(L);
        NetworkManagerWrap.Register(L);
        AudioManagerWrap.Register(L);
        NotificationManagerWrap.Register(L);
        LocalizationWrap.Register(L);
        DeviceHelperWrap.Register(L);
        ArmyMoveWrap.Register(L);
        ProgressSpriteWrap.Register(L);
        UIModWrap.Register(L);
        UISystemWrap.Register(L);
        UIManagerWrap.Register(L);
        UIButtonWrap.Register(L);
        UIButtonAgentWrap.Register(L);
        UIInputFieldWrap.Register(L);
        UIInputFieldSubmitWrap.Register(L);
        UISliderWrap.Register(L);
        UIScrollRectWrap.Register(L);
        UIScrollPageWrap.Register(L);
        UIScrollBaseWrap.Register(L);
        UIScrollRingWrap.Register(L);
        UIScrollViewWrap.Register(L);
        UIClippingLoopWrap.Register(L);
        UIDragSensorWrap.Register(L);
        UITextWrap.Register(L);
        UIToggleWrap.Register(L);
        UITweenWrap.Register(L);
        UITweenRectPositionWrap.Register(L);
        UITweenRectPositionBetweenWrap.Register(L);
        UITweenFadeWrap.Register(L);
        UITweenColorWrap.Register(L);
        UITweenLocalPositionWrap.Register(L);
        UITweenLocalPositionBetweenWrap.Register(L);
        UITweenScaleWrap.Register(L);
        UITweenScale1Wrap.Register(L);
        UITweenPositionWrap.Register(L);
        UITweenSizeDeltaWrap.Register(L);
        UITweenCityBuildingWrap.Register(L);
        UITweenMoveWrap.Register(L);
        UITweenJumpWrap.Register(L);
        UITweenPathWrap.Register(L);
        UITextTimeCountdownWrap.Register(L);
        UITextNumCountdownWrap.Register(L);
        UITextUnderlineWrap.Register(L);
        UIProgressWrap.Register(L);
        FXTypeWriterWrap.Register(L);
        TypeWriterWrap.Register(L);
        UITextAutoOmitWrap.Register(L);
        UIPopWindowWrap.Register(L);
        UIGradientWrap.Register(L);
        ShakeWrap.Register(L);
        UIHighLightMaskWrap.Register(L);
        ReferenceWrap.Register(L);
        UIPolygonChartWrap.Register(L);
        UIAutoSizeWrap.Register(L);
        UITextAgentWrap.Register(L);
        SpriteAnimationWrap.Register(L);
        YlyAssetIdentifyWrap.Register(L);
        YlyRichTextWrap.Register(L);
        YlyDelegateUtilWrap.Register(L);
        GizmoPlaneWrap.Register(L);
        GizmoBezierLineWrap.Register(L);
        BezierWrap.Register(L);
        BezierMoveWrap.Register(L);
        CityWrap.Register(L);
        CityCameraWrap.Register(L);
        CityBuildingWrap.Register(L);
        CityLandWrap.Register(L);
        CharacterWrap.Register(L);
        MapBorderWrap.Register(L);
        MapUnitMoveWrap.Register(L);
        WorldMapCameraWrap.Register(L);
        WorldMapThumbCameraWrap.Register(L);
        ScreenBlurWrap.Register(L);
        ChannelSDKWrap.Register(L);
        UIPrimitiveBaseWrap.Register(L);
        L.BeginModule("UnityEngine");
        UnityEngine_ComponentWrap.Register(L);
        UnityEngine_TransformWrap.Register(L);
        UnityEngine_MaterialWrap.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);
        UnityEngine_ResourcesWrap.Register(L);
        UnityEngine_SpriteRendererWrap.Register(L);
        UnityEngine_MotionWrap.Register(L);
        UnityEngine_SpriteWrap.Register(L);
        UnityEngine_CanvasWrap.Register(L);
        UnityEngine_RectTransformWrap.Register(L);
        UnityEngine_RectWrap.Register(L);
        UnityEngine_TextGeneratorWrap.Register(L);
        UnityEngine_UICharInfoWrap.Register(L);
        UnityEngine_TextGenerationSettingsWrap.Register(L);
        UnityEngine_GUIUtilityWrap.Register(L);
        UnityEngine_Color32Wrap.Register(L);
        L.BeginModule("Experimental");
        L.BeginModule("Director");
        UnityEngine_Experimental_Director_PlayableWrap.Register(L);
        L.EndModule();
        L.EndModule();
        L.BeginModule("SceneManagement");
        UnityEngine_SceneManagement_SceneManagerWrap.Register(L);
        L.EndModule();
        L.BeginModule("UI");
        UnityEngine_UI_LayoutGroupWrap.Register(L);
        UnityEngine_UI_ImageWrap.Register(L);
        UnityEngine_UI_SelectableWrap.Register(L);
        UnityEngine_UI_ButtonWrap.Register(L);
        UnityEngine_UI_InputFieldWrap.Register(L);
        UnityEngine_UI_SliderWrap.Register(L);
        UnityEngine_UI_ScrollRectWrap.Register(L);
        UnityEngine_UI_TextWrap.Register(L);
        UnityEngine_UI_ToggleWrap.Register(L);
        UnityEngine_UI_GridLayoutGroupWrap.Register(L);
        UnityEngine_UI_LayoutElementWrap.Register(L);
        UnityEngine_UI_MaskableGraphicWrap.Register(L);
        UnityEngine_UI_GraphicWrap.Register(L);
        UnityEngine_UI_BaseMeshEffectWrap.Register(L);
        L.BeginModule("InputField");
        L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput);
        L.EndModule();
        L.EndModule();
        L.BeginModule("EventSystems");
        UnityEngine_EventSystems_UIBehaviourWrap.Register(L);
        L.EndModule();
        L.BeginModule("Events");
        L.RegFunction("UnityAction", UnityEngine_Events_UnityAction);
        L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode);
        L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene);
        L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene);
        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("OpenUDIDPhone");
        OpenUDIDPhone_OpenUDIDWrap.Register(L);
        L.EndModule();
        L.BeginModule("UITextTimeCountdown");
        UITextTimeCountdown_DirectTypeWrap.Register(L);
        L.EndModule();
        L.BeginModule("DragonBones");
        DragonBones_UnityFactoryWrap.Register(L);
        DragonBones_AnimationTimelineStateWrap.Register(L);
        DragonBones_AnimationFrameDataWrap.Register(L);
        DragonBones_AnimationStateWrap.Register(L);
        DragonBones_AnimationFadeOutModeWrap.Register(L);
        DragonBones_AnimationWrap.Register(L);
        DragonBones_AnimationDataWrap.Register(L);
        DragonBones_AnimationConfigWrap.Register(L);
        DragonBones_ActionDataWrap.Register(L);
        DragonBones_ActionTypeWrap.Register(L);
        DragonBones_ArmatureWrap.Register(L);
        DragonBones_ArmatureDataWrap.Register(L);
        DragonBones_ArmatureTypeWrap.Register(L);
        DragonBones_BoneWrap.Register(L);
        DragonBones_BoneDataWrap.Register(L);
        DragonBones_BoneFrameDataWrap.Register(L);
        DragonBones_BoneTimelineDataWrap.Register(L);
        DragonBones_BoneTimelineStateWrap.Register(L);
        DragonBones_DragonBonesWrap.Register(L);
        DragonBones_DragonBonesDataWrap.Register(L);
        DragonBones_TransformWrap.Register(L);
        DragonBones_TransformObjectWrap.Register(L);
        DragonBones_BaseObjectWrap.Register(L);
        DragonBones_EventObjectWrap.Register(L);
        DragonBones_UnityArmatureComponentWrap.Register(L);
        DragonBones_BaseFactoryWrap.Register(L);
        DragonBones_TimelineState_DragonBones_AnimationFrameData_DragonBones_AnimationDataWrap.Register(L);
        DragonBones_FrameData_DragonBones_AnimationFrameDataWrap.Register(L);
        DragonBones_TimelineData_DragonBones_AnimationFrameDataWrap.Register(L);
        DragonBones_TweenFrameData_DragonBones_BoneFrameDataWrap.Register(L);
        DragonBones_FrameData_DragonBones_BoneFrameDataWrap.Register(L);
        DragonBones_TimelineData_DragonBones_BoneFrameDataWrap.Register(L);
        DragonBones_TweenTimelineState_DragonBones_BoneFrameData_DragonBones_BoneTimelineDataWrap.Register(L);
        DragonBones_TimelineState_DragonBones_BoneFrameData_DragonBones_BoneTimelineDataWrap.Register(L);
        DragonBones_UnityEventDispatcher_DragonBones_EventObjectWrap.Register(L);
        L.RegFunction("ListenerDelegate_DragonBones_EventObject", DragonBones_ListenerDelegate_DragonBones_EventObject);
        L.EndModule();
        L.BeginModule("LKCamera");
        LKCamera_Camera2DWrap.Register(L);
        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("Action_UnityEngine_Object", System_Action_UnityEngine_Object);
        L.EndModule();
        L.BeginModule("GameManager");
        L.RegFunction("LuaExecute", GameManager_LuaExecute);
        L.EndModule();
        L.BeginModule("AudioManager");
        L.RegFunction("SwitchChanged", AudioManager_SwitchChanged);
        L.EndModule();
        L.BeginModule("UIInputFieldSubmit");
        L.RegFunction("OnValidateInput", UIInputFieldSubmit_OnValidateInput);
        L.EndModule();
        L.BeginModule("UITween");
        L.RegFunction("OnFinish", UITween_OnFinish);
        L.EndModule();
        L.BeginModule("UIProgress");
        L.RegFunction("LuaCallback", UIProgress_LuaCallback);
        L.EndModule();
        L.BeginModule("YlyDelegateUtil");
        L.RegFunction("StringDelegate", YlyDelegateUtil_StringDelegate);
        L.EndModule();
        L.BeginModule("Character");
        L.RegFunction("OnEvent", Character_OnEvent);
        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);
    }
Exemple #3
0
 public static void Bind(IntPtr L)
 {
     objectWrap.Register(L);
     ObjectWrap.Register(L);
     TypeWrap.Register(L);
     DelegateWrap.Register(L);
     IEnumeratorWrap.Register(L);
     EnumWrap.Register(L);
     StringWrap.Register(L);
     MsgPacketWrap.Register(L);
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     AnimatorWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioListenerWrap.Register(L);
     AudioManagerWrap.Register(L);
     AudioSourceWrap.Register(L);
     BaseLuaWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     ButtonWrap.Register(L);
     ByteBufferWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CanvasWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     DebuggerWrap.Register(L);
     DictionaryStr2StrWrap.Register(L);
     GameAudioWrap.Register(L);
     GameLogicWrap.Register(L);
     GameObjectWrap.Register(L);
     GraphicWrap.Register(L);
     ImageWrap.Register(L);
     InputFieldWrap.Register(L);
     InputWrap.Register(L);
     iooWrap.Register(L);
     KeyCodeWrap.Register(L);
     LayerMaskWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     ListStringWrap.Register(L);
     LoadSceneMgrWrap.Register(L);
     LuaHelperWrap.Register(L);
     MaskableGraphicWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     NavMeshAgentWrap.Register(L);
     NavMeshHitWrap.Register(L);
     NavMeshPathStatusWrap.Register(L);
     NavMeshPathWrap.Register(L);
     NavMeshWrap.Register(L);
     NetworkManagerWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlaneWrap.Register(L);
     PlayModeWrap.Register(L);
     PointerEventDataWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RaycastHitWrap.Register(L);
     RectTransformWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ResourceManagerWrap.Register(L);
     ScreenWrap.Register(L);
     ScrollRectWrap.Register(L);
     SelectableWrap.Register(L);
     SimplePoolWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     SpriteWrap.Register(L);
     Texture2DWrap.Register(L);
     TextureWrap.Register(L);
     TextWrap.Register(L);
     TimerManagerWrap.Register(L);
     TimeWrap.Register(L);
     ToggleWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     UIAnimCtrlWrap.Register(L);
     UIBehaviourWrap.Register(L);
     UIEventListenerWrap.Register(L);
     UIFollowTargetWrap.Register(L);
     UILayerContainerTypeWrap.Register(L);
     UIProgressWrap.Register(L);
     UISpriteChangeWrap.Register(L);
     UISpriteStateWrap.Register(L);
     UITabsControlWrap.Register(L);
     UITimeDestoryWrap.Register(L);
     UtilCommonWrap.Register(L);
     UtilMathWrap.Register(L);
     UtilWrap.Register(L);
     WWWWrap.Register(L);
 }