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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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