Exemple #1
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);
 }
Exemple #2
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);
 }
    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 "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 "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 "UtilWrap": UtilWrap.Register(L); break;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        case "SkillMgrWrap": SkillMgrWrap.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 "TalkToNPCWrap": TalkToNPCWrap.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 "UIToolsWrap": UIToolsWrap.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;
        }
    }
Exemple #7
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;
        }
    }