Beispiel #1
0
 public static void Bind(IntPtr L)
 {
     AnimationClipWrap.Register(L);
     BehaviourWrap.Register(L);
     CanvasWrap.Register(L);
     CBallCurvMotorWrap.Register(L);
     CFxFollowTargetWrap.Register(L);
     CFxOneWrap.Register(L);
     CGameSessionWrap.Register(L);
     CGhostEffectManWrap.Register(L);
     CHUDFollowTargetWrap.Register(L);
     CLinearMotorWrap.Register(L);
     CMotorWrap.Register(L);
     CMutantBezierMotorWrap.Register(L);
     ComponentWrap.Register(L);
     CParabolicMotorWrap.Register(L);
     CTargetMotorWrap.Register(L);
     DG_Tweening_DOTweenAnimationWrap.Register(L);
     DG_Tweening_DOTweenPlayerWrap.Register(L);
     EntityComponent_AnimationUnitWrap.Register(L);
     EntityComponent_CombatStateChangeBehaviourWrap.Register(L);
     EntityComponent_HorseStandBehaviourWrap.Register(L);
     EntityComponent_NpcStandBehaviourWrap.Register(L);
     GameObjectPoolWrap.Register(L);
     GBaseWrap.Register(L);
     GBloodWrap.Register(L);
     GButtonWrap.Register(L);
     GDragablePageViewWrap.Register(L);
     GNewGridBaseWrap.Register(L);
     GNewIOSToggleWrap.Register(L);
     GNewLayoutTableWrap.Register(L);
     GNewListBaseWrap.Register(L);
     GNewListLoopWrap.Register(L);
     GNewListWrap.Register(L);
     GNewTableBaseWrap.Register(L);
     GNewTabListWrap.Register(L);
     GNewUIBaseWrap.Register(L);
     GNewUI_GUISceneWrap.Register(L);
     GScaleScrollWrap.Register(L);
     GTextWrap.Register(L);
     LightWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     PlayModeWrap.Register(L);
     RectTransformWrap.Register(L);
     ResourcesWrap.Register(L);
     SystemInfoWrap.Register(L);
     TimeWrap.Register(L);
     UIEventListenerWrap.Register(L);
     UITemplateWrap.Register(L);
     UnityEngine_EventSystems_UIBehaviourWrap.Register(L);
     UnityEngine_UI_ButtonWrap.Register(L);
     UnityEngine_UI_GraphicRaycasterWrap.Register(L);
     UnityEngine_UI_ImageWrap.Register(L);
     UnityEngine_UI_InputFieldWrap.Register(L);
     UnityEngine_UI_ScrollbarWrap.Register(L);
     UnityEngine_UI_SelectableWrap.Register(L);
     UnityEngine_UI_SliderWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     UnityEngine_UI_ToggleWrap.Register(L);
 }
Beispiel #2
0
    public static void Bind(IntPtr L)
    {
        objectWrap.Register(L);
        ObjectWrap.Register(L);
        coroutineWrap.Register(L);
        TypeWrap.Register(L);
        TimeWrap.Register(L);
        Vector2Wrap.Register(L);
        Vector3Wrap.Register(L);
        GameObjectWrap.Register(L);
        ComponentWrap.Register(L);
        BehaviourWrap.Register(L);
        TransformWrap.Register(L);
        MonoBehaviourWrap.Register(L);
        ApplicationWrap.Register(L);
        KeyframeWrap.Register(L);
        AnimationCurveWrap.Register(L);
        TestToLuaWrap.Register(L);
        TestEnumWrap.Register(L);
        SpaceWrap.Register(L);
        LightWrap.Register(L);
        LightTypeWrap.Register(L);
        MotionWrap.Register(L);
        AnimationClipWrap.Register(L);

        WrapSpriteRenderer.Register(L);
        WrapText.Register(L);
        WrapToggle.Register(L);
        WrapList_int.Register(L);
        WrapList_string.Register(L);
        WrapDictionary.Register(L);
        WrapDictEnumerator.Register(L);
    }
 public static void Bind(IntPtr L)
 {
     objectWrap.Register(L);
     ObjectWrap.Register(L);
     ApplicationWrap.Register(L);
     BaseLuaWrap.Register(L);
     BehaviourWrap.Register(L);
     ByteBufferWrap.Register(L);
     ComponentWrap.Register(L);
     ConstWrap.Register(L);
     GameObjectWrap.Register(L);
     GlobalWrap.Register(L);
     HashtableWrap.Register(L);
     iooWrap.Register(L);
     LuaHelperWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     NetworkManagerWrap.Register(L);
     PanelManagerWrap.Register(L);
     ResourceManagerWrap.Register(L);
     TimerManagerWrap.Register(L);
     TimeWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UIEventListenerWrap.Register(L);
     UtilWrap.Register(L);
     Vector2Wrap.Register(L);
     Vector3Wrap.Register(L);
 }
Beispiel #4
0
 public static void Bind(IntPtr L)
 {
     AnimationWrap.Register(L);
     AnimatorWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     BaseLuaWrap.Register(L);
     BehaviourWrap.Register(L);
     ColorWrap.Register(L);
     ComponentWrap.Register(L);
     CoreWrap.Register(L);
     DebugWrap.Register(L);
     DeviceInfoWrap.Register(L);
     DownLoadFromWebWrap.Register(L);
     EventListenerWrap.Register(L);
     EventSenderWrap.Register(L);
     GameObjectWrap.Register(L);
     JumperWrap.Register(L);
     LuaLinkerWrap.Register(L);
     LuaManagerWrap.Register(L);
     LuaScriptMgrWrap.Register(L);
     LuaToolsWrap.Register(L);
     MathWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     NGUIDebugWrap.Register(L);
     ObjectWrap.Register(L);
     ResourcesWrap.Register(L);
     TimeWrap.Register(L);
     TransformWrap.Register(L);
     TweenAlphaWrap.Register(L);
     TweenPositionWrap.Register(L);
     TweenScaleWrap.Register(L);
     TypeWrap.Register(L);
     UIBasicSpriteWrap.Register(L);
     UIButtonColorWrap.Register(L);
     UIButtonWrap.Register(L);
     UICameraWrap.Register(L);
     UIEventManagerWrap.Register(L);
     UILabelWrap.Register(L);
     UIPanelWrap.Register(L);
     UIProgressBarWrap.Register(L);
     UIRectWrap.Register(L);
     UISliderWrap.Register(L);
     UISpriteWrap.Register(L);
     UITextureWrap.Register(L);
     UITweenerWrap.Register(L);
     UIWidgetContainerWrap.Register(L);
     Vector2Wrap.Register(L);
     Vector3Wrap.Register(L);
     UIWidgetWrap.Register(L);
     DirectoryWrap.Register(L);
     FileWrap.Register(L);
     yieldWrap.Register(L);
 }
Beispiel #5
0
 public static void Bind(IntPtr L)
 {
     objectWrap.Register(L);
     ObjectWrap.Register(L);
     TypeWrap.Register(L);
     TimeWrap.Register(L);
     Vector2Wrap.Register(L);
     Vector3Wrap.Register(L);
     GameObjectWrap.Register(L);
     ComponentWrap.Register(L);
     BehaviourWrap.Register(L);
     TransformWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     ApplicationWrap.Register(L);
     KeyframeWrap.Register(L);
     AnimationCurveWrap.Register(L);
     TestToLuaWrap.Register(L);
     TestEnumWrap.Register(L);
 }
Beispiel #6
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 "AnimationWrap": AnimationWrap.Register(L); break;

        case "AppConstWrap": AppConstWrap.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 "BehaviourWrap": BehaviourWrap.Register(L); break;

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

        case "BoxColliderWrap": BoxColliderWrap.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 "EnumWrap": EnumWrap.Register(L); break;

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

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

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

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

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

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

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

        case "LuaEnumTypeWrap": LuaEnumTypeWrap.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 "NGUIToolsWrap": NGUIToolsWrap.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 "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.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 "TimeWrap": TimeWrap.Register(L); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
Beispiel #7
0
 public static void Bind(IntPtr L, string type = null)
 {
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     AppConstWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateFactoryWrap.Register(L);
     DelegateWrap.Register(L);
     EnumWrap.Register(L);
     GameObjectWrap.Register(L);
     IEnumeratorWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LuaEnumTypeWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     ObjectWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ScreenWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     stringWrap.Register(L);
     System_ObjectWrap.Register(L);
     TestDelegateListenerWrap.Register(L);
     TestEventListenerWrap.Register(L);
     TestLuaDelegateWrap.Register(L);
     TextureWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UtilWrap.Register(L);
     WWWWrap.Register(L);
 }
        public static void Bind(IntPtr L, string type = null)
        {
            if (type == null || LuaBinder.wrapList.Contains(type))
            {
                return;
            }
            LuaBinder.wrapList.Add(type);
            type += "Wrap";
            string text  = type;
            string text2 = text;

            if (text2 != null)
            {
                if (LuaBinder.< > f__switch$map4 == null)
                {
                    Dictionary <string, int> dictionary = new Dictionary <string, int>(22);
                    dictionary.Add("BehaviourWrap", 0);
                    dictionary.Add("ComponentWrap", 1);
                    dictionary.Add("com_tencent_pandora_CSharpInterfaceWrap", 2);
                    dictionary.Add("com_tencent_pandora_DelegateFactoryWrap", 3);
                    dictionary.Add("com_tencent_pandora_LoggerWrap", 4);
                    dictionary.Add("com_tencent_pandora_UserDataWrap", 5);
                    dictionary.Add("EnumWrap", 6);
                    dictionary.Add("GameObjectWrap", 7);
                    dictionary.Add("IEnumeratorWrap", 8);
                    dictionary.Add("ImageWrap", 9);
                    dictionary.Add("MonoBehaviourWrap", 10);
                    dictionary.Add("ObjectWrap", 11);
                    dictionary.Add("RectWrap", 12);
                    dictionary.Add("stringWrap", 13);
                    dictionary.Add("System_ObjectWrap", 14);
                    dictionary.Add("TextureWrap", 15);
                    dictionary.Add("TimeWrap", 16);
                    dictionary.Add("TransformWrap", 17);
                    dictionary.Add("TypeWrap", 18);
                    dictionary.Add("Vector2Wrap", 19);
                    dictionary.Add("Vector3Wrap", 20);
                    dictionary.Add("WWWWrap", 21);
                    LuaBinder.< > f__switch$map4 = dictionary;
                }
                int num;
                if (LuaBinder.< > f__switch$map4.TryGetValue(text2, ref num))
                {
                    switch (num)
                    {
                    case 0:
                        BehaviourWrap.Register(L);
                        break;

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

                    case 2:
                        com_tencent_pandora_CSharpInterfaceWrap.Register(L);
                        break;

                    case 3:
                        com_tencent_pandora_DelegateFactoryWrap.Register(L);
                        break;

                    case 4:
                        com_tencent_pandora_LoggerWrap.Register(L);
                        break;

                    case 5:
                        com_tencent_pandora_UserDataWrap.Register(L);
                        break;

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

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

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

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

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

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

                    case 12:
                        RectWrap.Register(L);
                        break;

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

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

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

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

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

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

                    case 19:
                        Vector2Wrap.Register(L);
                        break;

                    case 20:
                        Vector3Wrap.Register(L);
                        break;

                    case 21:
                        WWWWrap.Register(L);
                        break;
                    }
                }
            }
        }
Beispiel #9
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 "AppConstWrap": AppConstWrap.Register(L); break;

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

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

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

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

        case "CameraWrap": CameraWrap.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 "DelManagerWrap": DelManagerWrap.Register(L); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "XUtliPoolLib_XLuaLongWrap": XUtliPoolLib_XLuaLongWrap.Register(L); break;
        }
    }
    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 "AnimationWrap": AnimationWrap.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 "BehaviourWrap": BehaviourWrap.Register(L); break;

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

        case "BoxColliderWrap": BoxColliderWrap.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 "EnumWrap": EnumWrap.Register(L); break;

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

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

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

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

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

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

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

        case "LuaEnumTypeWrap": LuaEnumTypeWrap.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 "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 "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.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 "SimpleFramework_AppConstWrap": SimpleFramework_AppConstWrap.Register(L); break;

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

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

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

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

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

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

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

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

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

        case "SimpleFramework_WrapGridWrap": SimpleFramework_WrapGridWrap.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 "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 "UIButtonWrap": UIButtonWrap.Register(L); break;

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

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

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

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

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

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

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

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

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
Beispiel #11
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);

        DebuggerWrap.Register(L);

        float time = Time.realtimeSinceStartup;

        //u3d
        ComponentWrap.Register(L);
        BehaviourWrap.Register(L);
        MonoBehaviourWrap.Register(L);
        GameObjectWrap.Register(L);
        TransformWrap.Register(L);
        SpaceWrap.Register(L);

        CameraWrap.Register(L);
        CameraClearFlagsWrap.Register(L);
        MaterialWrap.Register(L);
        RendererWrap.Register(L);
        MeshRendererWrap.Register(L);
        SkinnedMeshRendererWrap.Register(L);
        LightTypeWrap.Register(L);
        LightWrap.Register(L);
        ParticleAnimatorWrap.Register(L);
        ParticleEmitterWrap.Register(L);
        ParticleRendererWrap.Register(L);

        PhysicsWrap.Register(L);
        ColliderWrap.Register(L);
        BoxColliderWrap.Register(L);
        MeshColliderWrap.Register(L);
        SphereColliderWrap.Register(L);
        CharacterControllerWrap.Register(L);

        AnimationWrap.Register(L);
        AnimationClipWrap.Register(L);
        TrackedReferenceWrap.Register(L);
        AnimationStateWrap.Register(L);
        QueueModeWrap.Register(L);                                  //for animation
        PlayModeWrap.Register(L);
        AnimationBlendModeWrap.Register(L);

        AudioSourceWrap.Register(L);
        AudioClipWrap.Register(L);

        ApplicationWrap.Register(L);
        InputWrap.Register(L);
        KeyCodeWrap.Register(L);
        TouchPhaseWrap.Register(L);
        TimeWrap.Register(L);
        ScreenWrap.Register(L);
        RenderSettingsWrap.Register(L);
        SleepTimeoutWrap.Register(L);

        AsyncOperationWrap.Register(L);
        AssetBundleWrap.Register(L);

        QualitySettingsWrap.Register(L);
        BlendWeightsWrap.Register(L);
        RenderTextureWrap.Register(L);

        Debugger.Log("bind u3d to lua cost:" + (Time.realtimeSinceStartup - time).ToString());
    }
Beispiel #12
0
 public static void Bind(IntPtr L, string type = null)
 {
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     AppConstWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AssetInfoWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     AutomicIntWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     ButtonWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraMgrWrap.Register(L);
     CameraWrap.Register(L);
     CanvasWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     Constans_SkillTargetWrap.Register(L);
     Constans_SkillTypeWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateFactoryWrap.Register(L);
     DelegateWrap.Register(L);
     DropdownWrap.Register(L);
     EnumWrap.Register(L);
     ErrorManagerWrap.Register(L);
     ErrorModelWrap.Register(L);
     EventDefWrap.Register(L);
     FightUnitMgrWrap.Register(L);
     GameDataWrap.Register(L);
     GameObjectWrap.Register(L);
     IEnumeratorWrap.Register(L);
     ImageWrap.Register(L);
     InputFieldWrap.Register(L);
     InputManagerWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LuaEnumTypeWrap.Register(L);
     MapUtilsWrap.Register(L);
     MaskWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     MultipleTimeLengthButtonTriggerWrap.Register(L);
     MusicManagerWrap.Register(L);
     NetWorkScriptWrap.Register(L);
     ObjectWrap.Register(L);
     OneByOne_AccountDTOWrap.Register(L);
     OneByOne_AttackDTOWrap.Register(L);
     OneByOne_DamageDTOWrap.Register(L);
     OneByOne_FightBuildModelWrap.Register(L);
     OneByOne_FightPlayerModelWrap.Register(L);
     OneByOne_FightProtocolWrap.Register(L);
     OneByOne_FightRoomModelWrap.Register(L);
     OneByOne_FightSkillWrap.Register(L);
     OneByOne_FightSoldierModelWrap.Register(L);
     OneByOne_LoginProtocolWrap.Register(L);
     OneByOne_MatchProtocolWrap.Register(L);
     OneByOne_MoveDTOWrap.Register(L);
     OneByOne_ProtocolWrap.Register(L);
     OneByOne_SelectModelWrap.Register(L);
     OneByOne_SelectProtocolWrap.Register(L);
     OneByOne_SelectRoomDTOWrap.Register(L);
     OneByOne_UserDTOWrap.Register(L);
     OneByOne_UserProtocolWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayerBehaviourFacadeWrap.Register(L);
     PlayerControllerWrap.Register(L);
     PlayerPrefsWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RawImageWrap.Register(L);
     RectMask2DWrap.Register(L);
     RectTransformWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ResourceLoaderWrap.Register(L);
     SceneLoaderWrap.Register(L);
     ScreenWrap.Register(L);
     ScrollbarWrap.Register(L);
     ScrollRectWrap.Register(L);
     SelectableWrap.Register(L);
     SkillButtonWrap.Register(L);
     SkillTipSingletonWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SliderWrap.Register(L);
     SocketModelWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     SpriteWrap.Register(L);
     stringWrap.Register(L);
     System_ObjectWrap.Register(L);
     TestDelegateListenerWrap.Register(L);
     TestEventListenerWrap.Register(L);
     TestLuaDelegateWrap.Register(L);
     TextureWrap.Register(L);
     TextWrap.Register(L);
     TimeWrap.Register(L);
     ToggleGroupWrap.Register(L);
     ToggleWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformFinderWrap.Register(L);
     TransformWrap.Register(L);
     TransUtilsWrap.Register(L);
     TypeWrap.Register(L);
     UIutilsWrap.Register(L);
     UnityEngine_SceneManagement_SceneManagerWrap.Register(L);
     UtilWrap.Register(L);
     WWWWrap.Register(L);
 }
Beispiel #13
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);
 }
Beispiel #14
0
    public static void Bind(IntPtr L, string type = null)
    {
        if (type == null || LuaBinder.wrapList.Contains(type))
        {
            return;
        }
        LuaBinder.wrapList.Add(type);
        type += "Wrap";
        string text = type;

        switch (text)
        {
        case "AnimationBlendModeWrap":
            AnimationBlendModeWrap.Register(L);
            break;

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

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

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

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

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

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

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

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

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

        case "BoxColliderWrap":
            BoxColliderWrap.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 "DelManagerWrap":
            DelManagerWrap.Register(L);
            break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "LuaUIManagerWrap":
            LuaUIManagerWrap.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 "NGUIToolsWrap":
            NGUIToolsWrap.Register(L);
            break;

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

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

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

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

        case "PublicExtensionsWrap":
            PublicExtensionsWrap.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 "SphereColliderWrap":
            SphereColliderWrap.Register(L);
            break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "XUtliPoolLib_XLuaLongWrap":
            XUtliPoolLib_XLuaLongWrap.Register(L);
            break;
        }
    }
Beispiel #15
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);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     GameObjectWrap.Register(L);
     GTLibWrap.Register(L);
     IAssetManagerWrap.Register(L);
     IGameManagerWrap.Register(L);
     INetManagerWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LoggerWrap.Register(L);
     LuaHelperWrap.Register(L);
     LuaMessageTransmitterWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MessageTransmitterWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     MPObjectWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     PhysicsWrap.Register(L);
     PlaneWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ScreenWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     UIEventListenerWrap.Register(L);
     UIGridWrap.Register(L);
     UILabelWrap.Register(L);
     UIPanelWrap.Register(L);
     UtilWrap.Register(L);
 }
Beispiel #16
0
	public static void Bind(IntPtr L)
	{
		objectWrap.Register(L);
		ObjectWrap.Register(L);
		coroutineWrap.Register(L);
		FilterModeWrap.Register(L);
		TextureWrapModeWrap.Register(L);
		NPOTSupportWrap.Register(L);
		TextureFormatWrap.Register(L);
		CubemapFaceWrap.Register(L);
		RenderTextureFormatWrap.Register(L);
		RenderTextureReadWriteWrap.Register(L);
		BlendModeWrap.Register(L);
		BlendOpWrap.Register(L);
		CompareFunctionWrap.Register(L);
		CullModeWrap.Register(L);
		ColorWriteMaskWrap.Register(L);
		StencilOpWrap.Register(L);
		SecurityWrap.Register(L);
		StackTraceUtilityWrap.Register(L);
		UnityExceptionWrap.Register(L);
		MissingComponentExceptionWrap.Register(L);
		UnassignedReferenceExceptionWrap.Register(L);
		MissingReferenceExceptionWrap.Register(L);		
		WWWWrap.Register(L);
		GenericStackWrap.Register(L);
		ForceModeWrap.Register(L);
		PhysicsWrap.Register(L);
		RigidbodyConstraintsWrap.Register(L);
		RigidbodyWrap.Register(L);
		RigidbodyInterpolationWrap.Register(L);
		JointMotorWrap.Register(L);
		JointSpringWrap.Register(L);
		JointLimitsWrap.Register(L);
		JointWrap.Register(L);
		HingeJointWrap.Register(L);
		SpringJointWrap.Register(L);
		FixedJointWrap.Register(L);
		SoftJointLimitWrap.Register(L);
		JointDriveModeWrap.Register(L);
		JointProjectionModeWrap.Register(L);
		JointDriveWrap.Register(L);
		CharacterJointWrap.Register(L);
		RotationDriveModeWrap.Register(L);
		ConfigurableJointWrap.Register(L);
		ConstantForceWrap.Register(L);
		CollisionDetectionModeWrap.Register(L);
		ColliderWrap.Register(L);
		BoxColliderWrap.Register(L);
		SphereColliderWrap.Register(L);
		MeshColliderWrap.Register(L);
		CapsuleColliderWrap.Register(L);
		WheelFrictionCurveWrap.Register(L);
		WheelHitWrap.Register(L);
		WheelColliderWrap.Register(L);
		RaycastHitWrap.Register(L);
		PhysicMaterialCombineWrap.Register(L);
		PhysicMaterialWrap.Register(L);
		ContactPointWrap.Register(L);
		CollisionWrap.Register(L);
		CollisionFlagsWrap.Register(L);
		ControllerColliderHitWrap.Register(L);
		CharacterControllerWrap.Register(L);
		ClothWrap.Register(L);
		InteractiveClothWrap.Register(L);
		ClothSkinningCoefficientWrap.Register(L);
		SkinnedClothWrap.Register(L);
		ClothRendererWrap.Register(L);
		Physics2DWrap.Register(L);
		RaycastHit2DWrap.Register(L);
		RigidbodyInterpolation2DWrap.Register(L);
		RigidbodySleepMode2DWrap.Register(L);
		CollisionDetectionMode2DWrap.Register(L);
		ForceMode2DWrap.Register(L);
		Rigidbody2DWrap.Register(L);
		Collider2DWrap.Register(L);
		CircleCollider2DWrap.Register(L);
		BoxCollider2DWrap.Register(L);
		EdgeCollider2DWrap.Register(L);
		PolygonCollider2DWrap.Register(L);
		ContactPoint2DWrap.Register(L);
		Collision2DWrap.Register(L);
		JointLimitState2DWrap.Register(L);
		JointAngleLimits2DWrap.Register(L);
		JointTranslationLimits2DWrap.Register(L);
		JointMotor2DWrap.Register(L);
		JointSuspension2DWrap.Register(L);
		Joint2DWrap.Register(L);
		AnchoredJoint2DWrap.Register(L);
		SpringJoint2DWrap.Register(L);
		DistanceJoint2DWrap.Register(L);
		HingeJoint2DWrap.Register(L);
		SliderJoint2DWrap.Register(L);
		WheelJoint2DWrap.Register(L);
		PhysicsMaterial2DWrap.Register(L);
		ObstacleAvoidanceTypeWrap.Register(L);
		NavMeshAgentWrap.Register(L);
		OffMeshLinkTypeWrap.Register(L);
		OffMeshLinkDataWrap.Register(L);
		NavMeshHitWrap.Register(L);
		NavMeshTriangulationWrap.Register(L);
		NavMeshWrap.Register(L);
		OffMeshLinkWrap.Register(L);
		NavMeshPathStatusWrap.Register(L);
		NavMeshPathWrap.Register(L);
		NavMeshObstacleWrap.Register(L);
		AudioSpeakerModeWrap.Register(L);
		AudioSettingsWrap.Register(L);
		AudioTypeWrap.Register(L);
		AudioClipWrap.Register(L);
		AudioVelocityUpdateModeWrap.Register(L);
		AudioListenerWrap.Register(L);
		AudioRolloffModeWrap.Register(L);
		AudioSourceWrap.Register(L);
		AudioReverbPresetWrap.Register(L);
		AudioReverbZoneWrap.Register(L);
		AudioLowPassFilterWrap.Register(L);
		AudioHighPassFilterWrap.Register(L);
		AudioDistortionFilterWrap.Register(L);
		AudioEchoFilterWrap.Register(L);
		AudioChorusFilterWrap.Register(L);
		AudioReverbFilterWrap.Register(L);
		MicrophoneWrap.Register(L);
		WebCamFlagsWrap.Register(L);
		WebCamDeviceWrap.Register(L);
		WebCamTextureWrap.Register(L);
		AnimationClipPairWrap.Register(L);
		AnimatorOverrideControllerWrap.Register(L);
		WrapModeWrap.Register(L);
		AnimationEventWrap.Register(L);
		AnimationClipWrap.Register(L);
		KeyframeWrap.Register(L);
		AnimationCurveWrap.Register(L);
		PlayModeWrap.Register(L);
		QueueModeWrap.Register(L);
		AnimationBlendModeWrap.Register(L);
		AnimationPlayModeWrap.Register(L);
		AnimationCullingTypeWrap.Register(L);
		AnimationWrap.Register(L);
		AnimationStateWrap.Register(L);
		GameObjectWrap.Register(L);
		AvatarTargetWrap.Register(L);
		AvatarIKGoalWrap.Register(L);
		AnimationInfoWrap.Register(L);
		AnimatorCullingModeWrap.Register(L);
		AnimatorUpdateModeWrap.Register(L);
		AnimatorStateInfoWrap.Register(L);
		AnimatorTransitionInfoWrap.Register(L);
		MatchTargetWeightMaskWrap.Register(L);
		AnimatorWrap.Register(L);
		AnimatorUtilityWrap.Register(L);
		SkeletonBoneWrap.Register(L);
		HumanLimitWrap.Register(L);
		HumanBoneWrap.Register(L);
		HumanDescriptionWrap.Register(L);
		AvatarBuilderWrap.Register(L);
		RuntimeAnimatorControllerWrap.Register(L);
		HumanBodyBonesWrap.Register(L);
		AvatarWrap.Register(L);
		HumanTraitWrap.Register(L);
		UIVertexWrap.Register(L);
		AssetBundleWrap.Register(L);
		HideFlagsWrap.Register(L);
		SendMessageOptionsWrap.Register(L);
		PrimitiveTypeWrap.Register(L);
		SpaceWrap.Register(L);
		LayerMaskWrap.Register(L);
		RuntimePlatformWrap.Register(L);
		SystemLanguageWrap.Register(L);
		LogTypeWrap.Register(L);
		DeviceTypeWrap.Register(L);
		SystemInfoWrap.Register(L);
		ScriptableObjectWrap.Register(L);
		ResourcesWrap.Register(L);
		ThreadPriorityWrap.Register(L);
		ProfilerWrap.Register(L);
		ReproductionWrap.Register(L);
		CrashReportWrap.Register(L);
		LightTypeWrap.Register(L);
		LightRenderModeWrap.Register(L);
		LightShadowsWrap.Register(L);
		OcclusionAreaWrap.Register(L);
		OcclusionPortalWrap.Register(L);
		FogModeWrap.Register(L);
		RenderSettingsWrap.Register(L);
		ShadowProjectionWrap.Register(L);
		QualitySettingsWrap.Register(L);
		CameraClearFlagsWrap.Register(L);
		DepthTextureModeWrap.Register(L);
		TexGenModeWrap.Register(L);
		AnisotropicFilteringWrap.Register(L);
		BlendWeightsWrap.Register(L);
		MeshFilterWrap.Register(L);
		CombineInstanceWrap.Register(L);
		MeshTopologyWrap.Register(L);
		MeshWrap.Register(L);
		BoneWeightWrap.Register(L);
		SkinQualityWrap.Register(L);
		SkinnedMeshRendererWrap.Register(L);
		FlareWrap.Register(L);
		LensFlareWrap.Register(L);
		RendererWrap.Register(L);
		ProjectorWrap.Register(L);
		SkyboxWrap.Register(L);
		TextMeshWrap.Register(L);
		ParticleWrap.Register(L);
		ParticleEmitterWrap.Register(L);
		ParticleAnimatorWrap.Register(L);
		TrailRendererWrap.Register(L);
		ParticleRenderModeWrap.Register(L);
		ParticleRendererWrap.Register(L);
		LineRendererWrap.Register(L);
		MaterialPropertyBlockWrap.Register(L);
		RenderBufferWrap.Register(L);
		GraphicsWrap.Register(L);
		ResolutionWrap.Register(L);
		LightmapDataWrap.Register(L);
		LightmapsModeWrap.Register(L);
		ColorSpaceWrap.Register(L);
		LightProbesWrap.Register(L);
		LightmapSettingsWrap.Register(L);
		GeometryUtilityWrap.Register(L);
		ScreenOrientationWrap.Register(L);
		ScreenWrap.Register(L);
		SleepTimeoutWrap.Register(L);
		GLWrap.Register(L);
		MeshRendererWrap.Register(L);
		StaticBatchingUtilityWrap.Register(L);
		ImageEffectTransformsToLDRWrap.Register(L);
		ImageEffectOpaqueWrap.Register(L);
		TextureWrap.Register(L);
		Texture2DWrap.Register(L);
		CubemapWrap.Register(L);
		Texture3DWrap.Register(L);
		SparseTextureWrap.Register(L);
		RenderTextureWrap.Register(L);		
		CharacterInfoWrap.Register(L);
		FontWrap.Register(L);
		UICharInfoWrap.Register(L);
		UILineInfoWrap.Register(L);
		LODWrap.Register(L);
		LODGroupWrap.Register(L);
		GradientColorKeyWrap.Register(L);
		GradientAlphaKeyWrap.Register(L);
		GradientWrap.Register(L);
		ScaleModeWrap.Register(L);
		FocusTypeWrap.Register(L);
		RectOffsetWrap.Register(L);		
		ImagePositionWrap.Register(L);
		EventWrap.Register(L);
		KeyCodeWrap.Register(L);
		LightProbeGroupWrap.Register(L);
		Vector2Wrap.Register(L);
		Vector3Wrap.Register(L);
		ColorWrap.Register(L);
		Color32Wrap.Register(L);
		QuaternionWrap.Register(L);
		RectWrap.Register(L);
		Matrix4x4Wrap.Register(L);
		BoundsWrap.Register(L);
		Vector4Wrap.Register(L);
		RayWrap.Register(L);
		Ray2DWrap.Register(L);
		PlaneWrap.Register(L);
		PingWrap.Register(L);
		ParticleSystemRenderModeWrap.Register(L);
		ParticleSystemSimulationSpaceWrap.Register(L);
		ParticleSystemWrap.Register(L);
		ParticleSystemParticleWrap.Register(L);
		ParticleSystemCollisionEventWrap.Register(L);
		ParticleSystemRendererWrap.Register(L);		
		ISerializationCallbackReceiverWrap.Register(L);
		ShaderWrap.Register(L);
		MaterialWrap.Register(L);
		ProceduralProcessorUsageWrap.Register(L);
		ProceduralCacheSizeWrap.Register(L);
		ProceduralLoadingBehaviorWrap.Register(L);
		ProceduralPropertyTypeWrap.Register(L);
		ProceduralOutputTypeWrap.Register(L);
		ProceduralPropertyDescriptionWrap.Register(L);
		ProceduralMaterialWrap.Register(L);
		ProceduralTextureWrap.Register(L);
		SpriteAlignmentWrap.Register(L);
		SpritePackingModeWrap.Register(L);
		SpritePackingRotationWrap.Register(L);
		SpriteMeshTypeWrap.Register(L);
		SpriteWrap.Register(L);
		SpriteRendererWrap.Register(L);
		DataUtilityWrap.Register(L);
		WWWFormWrap.Register(L);
		CachingWrap.Register(L);
		ApplicationWrap.Register(L);
		UserAuthorizationWrap.Register(L);
		BehaviourWrap.Register(L);
		RenderingPathWrap.Register(L);
		TransparencySortModeWrap.Register(L);
		CameraWrap.Register(L);
		ComputeShaderWrap.Register(L);
		ComputeBufferTypeWrap.Register(L);
		ComputeBufferWrap.Register(L);
		DebugWrap.Register(L);
		DisplayWrap.Register(L);
		MonoBehaviourWrap.Register(L);
		TouchPhaseWrap.Register(L);
		IMECompositionModeWrap.Register(L);
		TouchWrap.Register(L);
		DeviceOrientationWrap.Register(L);
		AccelerationEventWrap.Register(L);
		GyroscopeWrap.Register(L);
		LocationInfoWrap.Register(L);
		LocationServiceStatusWrap.Register(L);
		LocationServiceWrap.Register(L);
		CompassWrap.Register(L);
		InputWrap.Register(L);
		ComponentWrap.Register(L);
		LightWrap.Register(L);
		TransformWrap.Register(L);
		TimeWrap.Register(L);
		PlayerPrefsExceptionWrap.Register(L);
		PlayerPrefsWrap.Register(L);
	}
Beispiel #17
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 "AnimationWrap": AnimationWrap.Register(L); break;

        case "AppConstWrap": AppConstWrap.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 "BehaviourWrap": BehaviourWrap.Register(L); break;

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

        case "BoxColliderWrap": BoxColliderWrap.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 "EnumWrap": EnumWrap.Register(L); break;

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

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

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

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

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

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

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

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

        case "LuaManagerWrap": LuaManagerWrap.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 "NavMeshAgentWrap": NavMeshAgentWrap.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 "QualitySettingsWrap": QualitySettingsWrap.Register(L); break;

        case "QueueModeWrap": QueueModeWrap.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 "TextureWrap": TextureWrap.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 "UtilWrap": UtilWrap.Register(L); break;

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
Beispiel #18
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;
        }
    }
Beispiel #19
0
 public static void Bind(IntPtr L)
 {
     ActiveButtonWrap.Register(L);
     ActiveGroupWrap.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);
     AudioSourceWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     CC_Module_Menu_MenuLayerTypeWrap.Register(L);
     CC_Module_Menu_MenuManagerWrap.Register(L);
     CC_Runtime_AssetManagerWrap.Register(L);
     CC_Runtime_CooWrap.Register(L);
     CC_Runtime_PB_ProtoBattleVideoInfoWrap.Register(L);
     CC_Runtime_PB_ProtoBattleVideoRoleInfoWrap.Register(L);
     CC_Runtime_PB_ProtoLeagueInfoWrap.Register(L);
     CC_Runtime_PB_ProtoRoleBaseInfoWrap.Register(L);
     CC_Runtime_PB_ProtoRoleBattleInfoWrap.Register(L);
     CC_Runtime_PacketManagerWrap.Register(L);
     CC_Runtime_SocketIdWrap.Register(L);
     CC_Runtime_SocketManagerWrap.Register(L);
     CC_Runtime_Utils_DateTimeUtilsWrap.Register(L);
     CC_UI_BaseUIWrap.Register(L);
     CC_UI_LuaUIEventWrap.Register(L);
     CC_UI_TabButtonWrap.Register(L);
     CC_UI_TabGroupWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CanvasWrap.Register(L);
     CharacterControllerWrap.Register(L);
     CityControlWrap.Register(L);
     ColliderWrap.Register(L);
     ColorUtilityWrap.Register(L);
     ColorWrap.Register(L);
     ComponentWrap.Register(L);
     CrashReporterWrap.Register(L);
     DG_Tweening_DOTweenWrap.Register(L);
     DG_Tweening_EaseWrap.Register(L);
     DG_Tweening_RotateModeWrap.Register(L);
     DG_Tweening_ScrambleModeWrap.Register(L);
     DG_Tweening_ShortcutExtensions46Wrap.Register(L);
     DG_Tweening_ShortcutExtensionsWrap.Register(L);
     DG_Tweening_TweenExtensionsWrap.Register(L);
     DG_Tweening_TweenSettingsExtensionsWrap.Register(L);
     DOTweenLuaUtilsWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateWrap.Register(L);
     EnumWrap.Register(L);
     ExtendButtonWrap.Register(L);
     GameObjectWrap.Register(L);
     Games_ConstConfigWrap.Register(L);
     Games_ConstConfig_IDWrap.Register(L);
     Games_GameConstWrap.Register(L);
     Games_Module_Props_PropConfigWrap.Register(L);
     Games_Module_Props_PropIdWrap.Register(L);
     Games_Module_Props_PropWrap.Register(L);
     Games_Module_Sound_SoundManagerWrap.Register(L);
     Games_Module_Sysmsgs_SysmsgManagerWrap.Register(L);
     Games_Module_Wars_FormationPositionWrap.Register(L);
     Games_Module_Wars_FormationWrap.Register(L);
     Games_Module_Wars_LegionTypeWrap.Register(L);
     Games_Module_Wars_MonsterConfigWrap.Register(L);
     Games_Module_Wars_OverTypeWrap.Register(L);
     Games_Module_Wars_SkillWarConfWrap.Register(L);
     Games_Module_Wars_StageConfigWrap.Register(L);
     Games_Module_Wars_StagePositionConfigWrap.Register(L);
     Games_Module_Wars_StageTypeWrap.Register(L);
     Games_Module_Wars_VSModeWrap.Register(L);
     Games_Module_Wars_WarEnterDataWrap.Register(L);
     Games_Module_Wars_WarEnterHeroDataWrap.Register(L);
     Games_Module_Wars_WarEnterLegionDataWrap.Register(L);
     Games_Module_Wars_WarEnterSoliderDataWrap.Register(L);
     Games_Module_Wars_WarModelWrap.Register(L);
     Games_Module_Wars_WarOverDataWrap.Register(L);
     Games_Module_Wars_WarOverLegionDataWrap.Register(L);
     Games_Module_Wars_WarRecordIOWrap.Register(L);
     Games_Module_Wars_WarServiceWrap.Register(L);
     Games_Module_Wars_WarWrap.Register(L);
     Games_Module_Wars_WinConfigWrap.Register(L);
     Games_Module_Wars_WinTypeWrap.Register(L);
     GuidWrap.Register(L);
     IEnumeratorWrap.Register(L);
     ImageSetMaterialWrap.Register(L);
     InputWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MiscLuaUtilWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     MultiImageWrap.Register(L);
     NativeCodeManagerWrap.Register(L);
     ObjectWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PathUtilWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayModeWrap.Register(L);
     PlayerPrefsUtilWrap.Register(L);
     PrefabTextWrap.Register(L);
     ProvinceControlWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RectTransformWrap.Register(L);
     RectWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     RendererWrap.Register(L);
     ScreenWrap.Register(L);
     ScrollZoomContainerWrap.Register(L);
     SimpleFramework_ByteBufferWrap.Register(L);
     SimpleFramework_LuaBehaviourWrap.Register(L);
     SimpleFramework_LuaHelperWrap.Register(L);
     SimpleFramework_UtilWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SliderWithTextWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     SpriteWrap.Register(L);
     SystemInfoWrap.Register(L);
     System_ObjectWrap.Register(L);
     TableViewWrap.Register(L);
     TextAnchorWrap.Register(L);
     TextureWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UnityEngine_Events_UnityEventWrap.Register(L);
     UnityEngine_Experimental_Director_DirectorPlayerWrap.Register(L);
     UnityEngine_UI_ButtonWrap.Register(L);
     UnityEngine_UI_Button_ButtonClickedEventWrap.Register(L);
     UnityEngine_UI_CanvasScalerWrap.Register(L);
     UnityEngine_UI_CanvasScaler_ScreenMatchModeWrap.Register(L);
     UnityEngine_UI_DropdownWrap.Register(L);
     UnityEngine_UI_GraphicWrap.Register(L);
     UnityEngine_UI_ImageWrap.Register(L);
     UnityEngine_UI_InputFieldWrap.Register(L);
     UnityEngine_UI_SelectableWrap.Register(L);
     UnityEngine_UI_SliderWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     UnityEngine_UI_ToggleWrap.Register(L);
     WrapModeWrap.Register(L);
     bitWrap.Register(L);
     stringWrap.Register(L);
 }
Beispiel #20
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 "AnimationWrap": AnimationWrap.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 "BehaviourWrap": BehaviourWrap.Register(L); break;

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

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

        case "BoxColliderWrap": BoxColliderWrap.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 "DoTweenManagerWrap": DoTweenManagerWrap.Register(L); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "NetworkReachWrap": NetworkReachWrap.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 "PlayerPrefsWrap": PlayerPrefsWrap.Register(L); break;

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

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

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

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

        case "RectWrap": RectWrap.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 "SDKManagerWrap": SDKManagerWrap.Register(L); break;

        case "ShaderWrap": ShaderWrap.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 "SpriteWrap": SpriteWrap.Register(L); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "WWWWrap": WWWWrap.Register(L); break;
        }
    }
 public static void Bind(IntPtr L)
 {
     AnimationBlendModeWrap.Register(L);
     AnimationClipWrap.Register(L);
     AnimationStateWrap.Register(L);
     AnimationWrap.Register(L);
     ApplicationWrap.Register(L);
     AssetBundleWrap.Register(L);
     AsyncOperationWrap.Register(L);
     AudioClipWrap.Register(L);
     AudioSourceWrap.Register(L);
     BaseLuaWrap.Register(L);
     BehaviourWrap.Register(L);
     BlendWeightsWrap.Register(L);
     BoxColliderWrap.Register(L);
     ByteBufferWrap.Register(L);
     CameraClearFlagsWrap.Register(L);
     CameraWrap.Register(L);
     CharacterControllerWrap.Register(L);
     ColliderWrap.Register(L);
     ComponentWrap.Register(L);
     ConstWrap.Register(L);
     DebuggerWrap.Register(L);
     DelegateWrap.Register(L);
     EnumWrap.Register(L);
     GameObjectWrap.Register(L);
     IEnumeratorWrap.Register(L);
     InputWrap.Register(L);
     iooWrap.Register(L);
     KeyCodeWrap.Register(L);
     LightTypeWrap.Register(L);
     LightWrap.Register(L);
     LuaHelperWrap.Register(L);
     MaterialWrap.Register(L);
     MeshColliderWrap.Register(L);
     MeshRendererWrap.Register(L);
     MonoBehaviourWrap.Register(L);
     NetworkManagerWrap.Register(L);
     ObjectWrap.Register(L);
     PanelManagerWrap.Register(L);
     ParticleAnimatorWrap.Register(L);
     ParticleEmitterWrap.Register(L);
     ParticleRendererWrap.Register(L);
     ParticleSystemWrap.Register(L);
     PhysicsWrap.Register(L);
     PlayModeWrap.Register(L);
     QualitySettingsWrap.Register(L);
     QueueModeWrap.Register(L);
     RectTransformWrap.Register(L);
     RendererWrap.Register(L);
     RenderSettingsWrap.Register(L);
     RenderTextureWrap.Register(L);
     ResourceManagerWrap.Register(L);
     ScreenWrap.Register(L);
     SkinnedMeshRendererWrap.Register(L);
     SleepTimeoutWrap.Register(L);
     SpaceWrap.Register(L);
     SphereColliderWrap.Register(L);
     stringWrap.Register(L);
     System_ObjectWrap.Register(L);
     TextureWrap.Register(L);
     TimerManagerWrap.Register(L);
     TimeWrap.Register(L);
     TouchPhaseWrap.Register(L);
     TrackedReferenceWrap.Register(L);
     TransformWrap.Register(L);
     TypeWrap.Register(L);
     UnityEngine_UI_TextWrap.Register(L);
     UtilWrap.Register(L);
 }
Beispiel #22
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 "AnimatorWrap": AnimatorWrap.Register(L); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "Vector4Wrap": Vector4Wrap.Register(L); break;
        }
    }