├── .gitignore ├── Assets ├── PackageExporter.meta ├── PackageExporter │ ├── Editor.meta │ ├── Editor │ │ ├── PackageExporter.dll │ │ └── PackageExporter.dll.meta │ ├── LICENSE.txt │ ├── LICENSE.txt.meta │ ├── README.pdf │ ├── README.pdf.meta │ ├── template.meta │ ├── template │ │ ├── template.unityignore │ │ └── template.unityignore.meta │ ├── unityignore.meta │ └── unityignore │ │ ├── README.txt │ │ ├── README.txt.meta │ │ ├── UnityLua.unityignore │ │ └── UnityLua.unityignore.meta ├── ToLua.meta ├── ToLua │ ├── Editor.meta │ ├── Editor │ │ ├── Custom.meta │ │ └── Custom │ │ │ ├── CustomSettings.cs │ │ │ └── CustomSettings.cs.meta │ ├── Plugins.meta │ ├── Plugins │ │ ├── Android.meta │ │ ├── Android │ │ │ ├── libs.meta │ │ │ └── libs │ │ │ │ ├── arm64-v8a.meta │ │ │ │ ├── arm64-v8a │ │ │ │ ├── libtolua.so │ │ │ │ └── libtolua.so.meta │ │ │ │ ├── armeabi-v7a.meta │ │ │ │ ├── armeabi-v7a │ │ │ │ ├── libtolua.so │ │ │ │ └── libtolua.so.meta │ │ │ │ ├── x86.meta │ │ │ │ └── x86 │ │ │ │ ├── libtolua.so │ │ │ │ └── libtolua.so.meta │ │ ├── CString.dll │ │ ├── CString.dll.meta │ │ ├── Debugger.dll │ │ ├── Debugger.dll.meta │ │ ├── iOS.meta │ │ ├── iOS │ │ │ ├── libtolua.a │ │ │ └── libtolua.a.meta │ │ ├── tolua.bundle.meta │ │ ├── tolua.bundle │ │ │ ├── Contents.meta │ │ │ └── Contents │ │ │ │ ├── Info.plist │ │ │ │ ├── Info.plist.meta │ │ │ │ ├── MacOS.meta │ │ │ │ └── MacOS │ │ │ │ ├── tolua │ │ │ │ └── tolua.meta │ │ ├── x86.meta │ │ ├── x86 │ │ │ ├── tolua.dll │ │ │ └── tolua.dll.meta │ │ ├── x86_64.meta │ │ └── x86_64 │ │ │ ├── tolua.dll │ │ │ └── tolua.dll.meta │ ├── Source.meta │ ├── Source │ │ ├── Generate.meta │ │ ├── Generate │ │ │ ├── DelegateFactory.cs │ │ │ ├── DelegateFactory.cs.meta │ │ │ ├── LuaBinder.cs │ │ │ ├── LuaBinder.cs.meta │ │ │ ├── LuaInterface_DebuggerWrap.cs │ │ │ ├── LuaInterface_DebuggerWrap.cs.meta │ │ │ ├── LuaInterface_InjectTypeWrap.cs │ │ │ ├── LuaInterface_InjectTypeWrap.cs.meta │ │ │ ├── LuaInterface_LuaInjectionStationWrap.cs │ │ │ ├── LuaInterface_LuaInjectionStationWrap.cs.meta │ │ │ ├── LuaProfilerWrap.cs │ │ │ ├── LuaProfilerWrap.cs.meta │ │ │ ├── UnityEngine_AnimationBlendModeWrap.cs │ │ │ ├── UnityEngine_AnimationBlendModeWrap.cs.meta │ │ │ ├── UnityEngine_AnimationClipWrap.cs │ │ │ ├── UnityEngine_AnimationClipWrap.cs.meta │ │ │ ├── UnityEngine_AnimationStateWrap.cs │ │ │ ├── UnityEngine_AnimationStateWrap.cs.meta │ │ │ ├── UnityEngine_AnimationWrap.cs │ │ │ ├── UnityEngine_AnimationWrap.cs.meta │ │ │ ├── UnityEngine_AnimatorWrap.cs │ │ │ ├── UnityEngine_AnimatorWrap.cs.meta │ │ │ ├── UnityEngine_ApplicationWrap.cs │ │ │ ├── UnityEngine_ApplicationWrap.cs.meta │ │ │ ├── UnityEngine_AssetBundleWrap.cs │ │ │ ├── UnityEngine_AssetBundleWrap.cs.meta │ │ │ ├── UnityEngine_AsyncOperationWrap.cs │ │ │ ├── UnityEngine_AsyncOperationWrap.cs.meta │ │ │ ├── UnityEngine_AudioBehaviourWrap.cs │ │ │ ├── UnityEngine_AudioBehaviourWrap.cs.meta │ │ │ ├── UnityEngine_AudioClipWrap.cs │ │ │ ├── UnityEngine_AudioClipWrap.cs.meta │ │ │ ├── UnityEngine_AudioSourceWrap.cs │ │ │ ├── UnityEngine_AudioSourceWrap.cs.meta │ │ │ ├── UnityEngine_BehaviourWrap.cs │ │ │ ├── UnityEngine_BehaviourWrap.cs.meta │ │ │ ├── UnityEngine_BoxColliderWrap.cs │ │ │ ├── UnityEngine_BoxColliderWrap.cs.meta │ │ │ ├── UnityEngine_CameraClearFlagsWrap.cs │ │ │ ├── UnityEngine_CameraClearFlagsWrap.cs.meta │ │ │ ├── UnityEngine_CameraWrap.cs │ │ │ ├── UnityEngine_CameraWrap.cs.meta │ │ │ ├── UnityEngine_CapsuleColliderWrap.cs │ │ │ ├── UnityEngine_CapsuleColliderWrap.cs.meta │ │ │ ├── UnityEngine_CharacterControllerWrap.cs │ │ │ ├── UnityEngine_CharacterControllerWrap.cs.meta │ │ │ ├── UnityEngine_ColliderWrap.cs │ │ │ ├── UnityEngine_ColliderWrap.cs.meta │ │ │ ├── UnityEngine_ComponentWrap.cs │ │ │ ├── UnityEngine_ComponentWrap.cs.meta │ │ │ ├── UnityEngine_GameObjectWrap.cs │ │ │ ├── UnityEngine_GameObjectWrap.cs.meta │ │ │ ├── UnityEngine_InputWrap.cs │ │ │ ├── UnityEngine_InputWrap.cs.meta │ │ │ ├── UnityEngine_KeyCodeWrap.cs │ │ │ ├── UnityEngine_KeyCodeWrap.cs.meta │ │ │ ├── UnityEngine_LightTypeWrap.cs │ │ │ ├── UnityEngine_LightTypeWrap.cs.meta │ │ │ ├── UnityEngine_LightWrap.cs │ │ │ ├── UnityEngine_LightWrap.cs.meta │ │ │ ├── UnityEngine_MaterialWrap.cs │ │ │ ├── UnityEngine_MaterialWrap.cs.meta │ │ │ ├── UnityEngine_MeshColliderWrap.cs │ │ │ ├── UnityEngine_MeshColliderWrap.cs.meta │ │ │ ├── UnityEngine_MeshRendererWrap.cs │ │ │ ├── UnityEngine_MeshRendererWrap.cs.meta │ │ │ ├── UnityEngine_MonoBehaviourWrap.cs │ │ │ ├── UnityEngine_MonoBehaviourWrap.cs.meta │ │ │ ├── UnityEngine_ParticleSystemWrap.cs │ │ │ ├── UnityEngine_ParticleSystemWrap.cs.meta │ │ │ ├── UnityEngine_PhysicsWrap.cs │ │ │ ├── UnityEngine_PhysicsWrap.cs.meta │ │ │ ├── UnityEngine_PlayModeWrap.cs │ │ │ ├── UnityEngine_PlayModeWrap.cs.meta │ │ │ ├── UnityEngine_QualitySettingsWrap.cs │ │ │ ├── UnityEngine_QualitySettingsWrap.cs.meta │ │ │ ├── UnityEngine_QueueModeWrap.cs │ │ │ ├── UnityEngine_QueueModeWrap.cs.meta │ │ │ ├── UnityEngine_RenderSettingsWrap.cs │ │ │ ├── UnityEngine_RenderSettingsWrap.cs.meta │ │ │ ├── UnityEngine_RenderTextureWrap.cs │ │ │ ├── UnityEngine_RenderTextureWrap.cs.meta │ │ │ ├── UnityEngine_RendererWrap.cs │ │ │ ├── UnityEngine_RendererWrap.cs.meta │ │ │ ├── UnityEngine_ResourcesWrap.cs │ │ │ ├── UnityEngine_ResourcesWrap.cs.meta │ │ │ ├── UnityEngine_RigidbodyWrap.cs │ │ │ ├── UnityEngine_RigidbodyWrap.cs.meta │ │ │ ├── UnityEngine_ScreenWrap.cs │ │ │ ├── UnityEngine_ScreenWrap.cs.meta │ │ │ ├── UnityEngine_ShaderWrap.cs │ │ │ ├── UnityEngine_ShaderWrap.cs.meta │ │ │ ├── UnityEngine_SkinWeightsWrap.cs │ │ │ ├── UnityEngine_SkinWeightsWrap.cs.meta │ │ │ ├── UnityEngine_SkinnedMeshRendererWrap.cs │ │ │ ├── UnityEngine_SkinnedMeshRendererWrap.cs.meta │ │ │ ├── UnityEngine_SleepTimeoutWrap.cs │ │ │ ├── UnityEngine_SleepTimeoutWrap.cs.meta │ │ │ ├── UnityEngine_SpaceWrap.cs │ │ │ ├── UnityEngine_SpaceWrap.cs.meta │ │ │ ├── UnityEngine_SphereColliderWrap.cs │ │ │ ├── UnityEngine_SphereColliderWrap.cs.meta │ │ │ ├── UnityEngine_Texture2DWrap.cs │ │ │ ├── UnityEngine_Texture2DWrap.cs.meta │ │ │ ├── UnityEngine_TextureWrap.cs │ │ │ ├── UnityEngine_TextureWrap.cs.meta │ │ │ ├── UnityEngine_TimeWrap.cs │ │ │ ├── UnityEngine_TimeWrap.cs.meta │ │ │ ├── UnityEngine_TrackedReferenceWrap.cs │ │ │ ├── UnityEngine_TrackedReferenceWrap.cs.meta │ │ │ ├── UnityEngine_TransformWrap.cs │ │ │ ├── UnityEngine_TransformWrap.cs.meta │ │ │ ├── UnityEngine_WWWWrap.cs │ │ │ ├── UnityEngine_WWWWrap.cs.meta │ │ │ ├── UnityEngine_WrapModeWrap.cs │ │ │ └── UnityEngine_WrapModeWrap.cs.meta │ │ ├── LuaConst.cs │ │ └── LuaConst.cs.meta │ ├── ToLua.meta │ ├── ToLua │ │ ├── BaseType.meta │ │ ├── BaseType │ │ │ ├── LuaInterface_EventObjectWrap.cs │ │ │ ├── LuaInterface_EventObjectWrap.cs.meta │ │ │ ├── LuaInterface_LuaConstructorWrap.cs │ │ │ ├── LuaInterface_LuaConstructorWrap.cs.meta │ │ │ ├── LuaInterface_LuaFieldWrap.cs │ │ │ ├── LuaInterface_LuaFieldWrap.cs.meta │ │ │ ├── LuaInterface_LuaMethodWrap.cs │ │ │ ├── LuaInterface_LuaMethodWrap.cs.meta │ │ │ ├── LuaInterface_LuaOutWrap.cs │ │ │ ├── LuaInterface_LuaOutWrap.cs.meta │ │ │ ├── LuaInterface_LuaPropertyWrap.cs │ │ │ ├── LuaInterface_LuaPropertyWrap.cs.meta │ │ │ ├── System_ArrayWrap.cs │ │ │ ├── System_ArrayWrap.cs.meta │ │ │ ├── System_Collections_Generic_DictionaryWrap.cs │ │ │ ├── System_Collections_Generic_DictionaryWrap.cs.meta │ │ │ ├── System_Collections_Generic_Dictionary_KeyCollectionWrap.cs │ │ │ ├── System_Collections_Generic_Dictionary_KeyCollectionWrap.cs.meta │ │ │ ├── System_Collections_Generic_Dictionary_ValueCollectionWrap.cs │ │ │ ├── System_Collections_Generic_Dictionary_ValueCollectionWrap.cs.meta │ │ │ ├── System_Collections_Generic_KeyValuePairWrap.cs │ │ │ ├── System_Collections_Generic_KeyValuePairWrap.cs.meta │ │ │ ├── System_Collections_Generic_ListWrap.cs │ │ │ ├── System_Collections_Generic_ListWrap.cs.meta │ │ │ ├── System_Collections_IEnumeratorWrap.cs │ │ │ ├── System_Collections_IEnumeratorWrap.cs.meta │ │ │ ├── System_Collections_ObjectModel_ReadOnlyCollectionWrap.cs │ │ │ ├── System_Collections_ObjectModel_ReadOnlyCollectionWrap.cs.meta │ │ │ ├── System_DelegateWrap.cs │ │ │ ├── System_DelegateWrap.cs.meta │ │ │ ├── System_EnumWrap.cs │ │ │ ├── System_EnumWrap.cs.meta │ │ │ ├── System_NullObjectWrap.cs │ │ │ ├── System_NullObjectWrap.cs.meta │ │ │ ├── System_ObjectWrap.cs │ │ │ ├── System_ObjectWrap.cs.meta │ │ │ ├── System_StringWrap.cs │ │ │ ├── System_StringWrap.cs.meta │ │ │ ├── System_TypeWrap.cs │ │ │ ├── System_TypeWrap.cs.meta │ │ │ ├── UnityEngine_CoroutineWrap.cs │ │ │ ├── UnityEngine_CoroutineWrap.cs.meta │ │ │ ├── UnityEngine_ObjectWrap.cs │ │ │ └── UnityEngine_ObjectWrap.cs.meta │ │ ├── Core.meta │ │ ├── Core │ │ │ ├── LuaAttributes.cs │ │ │ ├── LuaAttributes.cs.meta │ │ │ ├── LuaBaseRef.cs │ │ │ ├── LuaBaseRef.cs.meta │ │ │ ├── LuaBeatEvent.cs │ │ │ ├── LuaBeatEvent.cs.meta │ │ │ ├── LuaDLL.cs │ │ │ ├── LuaDLL.cs.meta │ │ │ ├── LuaEvent.cs │ │ │ ├── LuaEvent.cs.meta │ │ │ ├── LuaException.cs │ │ │ ├── LuaException.cs.meta │ │ │ ├── LuaFileUtils.cs │ │ │ ├── LuaFileUtils.cs.meta │ │ │ ├── LuaFunction.cs │ │ │ ├── LuaFunction.cs.meta │ │ │ ├── LuaMatchType.cs │ │ │ ├── LuaMatchType.cs.meta │ │ │ ├── LuaMethodCache.cs │ │ │ ├── LuaMethodCache.cs.meta │ │ │ ├── LuaMisc.cs │ │ │ ├── LuaMisc.cs.meta │ │ │ ├── LuaStackOp.cs │ │ │ ├── LuaStackOp.cs.meta │ │ │ ├── LuaState.cs │ │ │ ├── LuaState.cs.meta │ │ │ ├── LuaStatePtr.cs │ │ │ ├── LuaStatePtr.cs.meta │ │ │ ├── LuaStatic.cs │ │ │ ├── LuaStatic.cs.meta │ │ │ ├── LuaTable.cs │ │ │ ├── LuaTable.cs.meta │ │ │ ├── LuaThread.cs │ │ │ ├── LuaThread.cs.meta │ │ │ ├── LuaUnityLibs.cs │ │ │ ├── LuaUnityLibs.cs.meta │ │ │ ├── LuaValueType.cs │ │ │ ├── LuaValueType.cs.meta │ │ │ ├── ObjectPool.cs │ │ │ ├── ObjectPool.cs.meta │ │ │ ├── ObjectTranslator.cs │ │ │ ├── ObjectTranslator.cs.meta │ │ │ ├── ToLua.cs │ │ │ ├── ToLua.cs.meta │ │ │ ├── TypeChecker.cs │ │ │ ├── TypeChecker.cs.meta │ │ │ ├── TypeTraits.cs │ │ │ └── TypeTraits.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── Extend.meta │ │ │ ├── Extend │ │ │ │ ├── ToLua_LuaInterface_EventObject.cs │ │ │ │ ├── ToLua_LuaInterface_EventObject.cs.meta │ │ │ │ ├── ToLua_LuaInterface_LuaConstructor.cs │ │ │ │ ├── ToLua_LuaInterface_LuaConstructor.cs.meta │ │ │ │ ├── ToLua_LuaInterface_LuaField.cs │ │ │ │ ├── ToLua_LuaInterface_LuaField.cs.meta │ │ │ │ ├── ToLua_LuaInterface_LuaMethod.cs │ │ │ │ ├── ToLua_LuaInterface_LuaMethod.cs.meta │ │ │ │ ├── ToLua_LuaInterface_LuaProperty.cs │ │ │ │ ├── ToLua_LuaInterface_LuaProperty.cs.meta │ │ │ │ ├── ToLua_System_Delegate.cs │ │ │ │ ├── ToLua_System_Delegate.cs.meta │ │ │ │ ├── ToLua_System_Enum.cs │ │ │ │ ├── ToLua_System_Enum.cs.meta │ │ │ │ ├── ToLua_System_Object.cs │ │ │ │ ├── ToLua_System_Object.cs.meta │ │ │ │ ├── ToLua_System_String.cs │ │ │ │ ├── ToLua_System_String.cs.meta │ │ │ │ ├── ToLua_System_Type.cs │ │ │ │ ├── ToLua_System_Type.cs.meta │ │ │ │ ├── ToLua_UnityEngine_GameObject.cs │ │ │ │ ├── ToLua_UnityEngine_GameObject.cs.meta │ │ │ │ ├── ToLua_UnityEngine_Input.cs │ │ │ │ ├── ToLua_UnityEngine_Input.cs.meta │ │ │ │ ├── ToLua_UnityEngine_Object.cs │ │ │ │ ├── ToLua_UnityEngine_Object.cs.meta │ │ │ │ ├── ToLua_UnityEngine_RectTransform.cs │ │ │ │ └── ToLua_UnityEngine_RectTransform.cs.meta │ │ │ ├── ToLuaExport.cs │ │ │ ├── ToLuaExport.cs.meta │ │ │ ├── ToLuaMenu.cs │ │ │ ├── ToLuaMenu.cs.meta │ │ │ ├── ToLuaTree.cs │ │ │ └── ToLuaTree.cs.meta │ │ ├── Examples.meta │ │ ├── Examples │ │ │ ├── 01_HelloWorld.meta │ │ │ ├── 01_HelloWorld │ │ │ │ ├── HelloWorld.cs │ │ │ │ ├── HelloWorld.cs.meta │ │ │ │ ├── HelloWorld.unity │ │ │ │ └── HelloWorld.unity.meta │ │ │ ├── 02_ScriptsFromFile.meta │ │ │ ├── 02_ScriptsFromFile │ │ │ │ ├── ScriptsFromFile.cs │ │ │ │ ├── ScriptsFromFile.cs.meta │ │ │ │ ├── ScriptsFromFile.lua │ │ │ │ ├── ScriptsFromFile.lua.meta │ │ │ │ ├── ScriptsFromFile.unity │ │ │ │ └── ScriptsFromFile.unity.meta │ │ │ ├── 03_CallLuaFunction.meta │ │ │ ├── 03_CallLuaFunction │ │ │ │ ├── CallLuaFunction.cs │ │ │ │ ├── CallLuaFunction.cs.meta │ │ │ │ ├── CallLuaFunction.unity │ │ │ │ └── CallLuaFunction.unity.meta │ │ │ ├── 04_AccessingLuaVariables.meta │ │ │ ├── 04_AccessingLuaVariables │ │ │ │ ├── AccessingLuaVariables.cs │ │ │ │ ├── AccessingLuaVariables.cs.meta │ │ │ │ ├── AccessingLuaVariables.unity │ │ │ │ └── AccessingLuaVariables.unity.meta │ │ │ ├── 05_LuaCoroutine.meta │ │ │ ├── 05_LuaCoroutine │ │ │ │ ├── LuaCoroutine.unity │ │ │ │ ├── LuaCoroutine.unity.meta │ │ │ │ ├── TestCoroutine.cs │ │ │ │ └── TestCoroutine.cs.meta │ │ │ ├── 06_LuaCoroutine2.meta │ │ │ ├── 06_LuaCoroutine2 │ │ │ │ ├── Coroutine.unity │ │ │ │ ├── Coroutine.unity.meta │ │ │ │ ├── TestCoroutine2.cs │ │ │ │ └── TestCoroutine2.cs.meta │ │ │ ├── 07_LuaThread.meta │ │ │ ├── 07_LuaThread │ │ │ │ ├── TestLuaThread.cs │ │ │ │ ├── TestLuaThread.cs.meta │ │ │ │ ├── TestThread.unity │ │ │ │ └── TestThread.unity.meta │ │ │ ├── 08_AccessingArray.meta │ │ │ ├── 08_AccessingArray │ │ │ │ ├── AccessingArray.cs │ │ │ │ ├── AccessingArray.cs.meta │ │ │ │ ├── AccessingArray.unity │ │ │ │ └── AccessingArray.unity.meta │ │ │ ├── 09_Dictionary.meta │ │ │ ├── 09_Dictionary │ │ │ │ ├── System_Collections_Generic_Dictionary_int_TestAccountWrap.cs │ │ │ │ ├── System_Collections_Generic_Dictionary_int_TestAccountWrap.cs.meta │ │ │ │ ├── System_Collections_Generic_Dictionary_int_TestAccount_KeyCollectionWrap.cs │ │ │ │ ├── System_Collections_Generic_Dictionary_int_TestAccount_KeyCollectionWrap.cs.meta │ │ │ │ ├── System_Collections_Generic_Dictionary_int_TestAccount_ValueCollectionWrap.cs │ │ │ │ ├── System_Collections_Generic_Dictionary_int_TestAccount_ValueCollectionWrap.cs.meta │ │ │ │ ├── System_Collections_Generic_KeyValuePair_int_TestAccountWrap.cs │ │ │ │ ├── System_Collections_Generic_KeyValuePair_int_TestAccountWrap.cs.meta │ │ │ │ ├── TestAccountWrap.cs │ │ │ │ ├── TestAccountWrap.cs.meta │ │ │ │ ├── UseDictionary.cs │ │ │ │ ├── UseDictionary.cs.meta │ │ │ │ ├── UseDictionary.unity │ │ │ │ └── UseDictionary.unity.meta │ │ │ ├── 10_Enum.meta │ │ │ ├── 10_Enum │ │ │ │ ├── AccessingEnum.cs │ │ │ │ ├── AccessingEnum.cs.meta │ │ │ │ ├── AccessingEnum.unity │ │ │ │ └── AccessingEnum.unity.meta │ │ │ ├── 11_Delegate.meta │ │ │ ├── 11_Delegate │ │ │ │ ├── TestDelegate.cs │ │ │ │ ├── TestDelegate.cs.meta │ │ │ │ ├── TestEventListener.cs │ │ │ │ ├── TestEventListener.cs.meta │ │ │ │ ├── TestEventListenerWrap.cs │ │ │ │ ├── TestEventListenerWrap.cs.meta │ │ │ │ ├── UseDelegate.unity │ │ │ │ └── UseDelegate.unity.meta │ │ │ ├── 12_GameObject.meta │ │ │ ├── 12_GameObject │ │ │ │ ├── TestGameObject.cs │ │ │ │ ├── TestGameObject.cs.meta │ │ │ │ ├── TestGameObject.unity │ │ │ │ └── TestGameObject.unity.meta │ │ │ ├── 13_CustomLoader.meta │ │ │ ├── 13_CustomLoader │ │ │ │ ├── CustomLoader.unity │ │ │ │ ├── CustomLoader.unity.meta │ │ │ │ ├── TestCustomLoader.cs │ │ │ │ └── TestCustomLoader.cs.meta │ │ │ ├── 14_Out.meta │ │ │ ├── 14_Out │ │ │ │ ├── TestOut.unity │ │ │ │ ├── TestOut.unity.meta │ │ │ │ ├── TestOutArg.cs │ │ │ │ └── TestOutArg.cs.meta │ │ │ ├── 15_ProtoBuffer.meta │ │ │ ├── 15_ProtoBuffer │ │ │ │ ├── ProtoBuffer.unity │ │ │ │ ├── ProtoBuffer.unity.meta │ │ │ │ ├── TestProtoBuffer.cs │ │ │ │ ├── TestProtoBuffer.cs.meta │ │ │ │ ├── TestProtol.cs │ │ │ │ ├── TestProtol.cs.meta │ │ │ │ ├── TestProtolWrap.cs │ │ │ │ ├── TestProtolWrap.cs.meta │ │ │ │ ├── common.proto │ │ │ │ ├── common.proto.meta │ │ │ │ ├── person.proto │ │ │ │ └── person.proto.meta │ │ │ ├── 16_Int64.meta │ │ │ ├── 16_Int64 │ │ │ │ ├── TestInt64.cs │ │ │ │ ├── TestInt64.cs.meta │ │ │ │ ├── TestInt64.unity │ │ │ │ └── TestInt64.unity.meta │ │ │ ├── 17_Inherit.meta │ │ │ ├── 17_Inherit │ │ │ │ ├── Inherit.unity │ │ │ │ ├── Inherit.unity.meta │ │ │ │ ├── TestInherit.cs │ │ │ │ └── TestInherit.cs.meta │ │ │ ├── 18_Bundle.meta │ │ │ ├── 18_Bundle │ │ │ │ ├── TesetAssetBundle.unity │ │ │ │ ├── TesetAssetBundle.unity.meta │ │ │ │ ├── TestABLoader.cs │ │ │ │ └── TestABLoader.cs.meta │ │ │ ├── 19_cjson.meta │ │ │ ├── 19_cjson │ │ │ │ ├── TestCJson.cs │ │ │ │ ├── TestCJson.cs.meta │ │ │ │ ├── testcjson.unity │ │ │ │ └── testcjson.unity.meta │ │ │ ├── 20_utf8.meta │ │ │ ├── 20_utf8 │ │ │ │ ├── TestUTF8.cs │ │ │ │ ├── TestUTF8.cs.meta │ │ │ │ ├── utf8.unity │ │ │ │ └── utf8.unity.meta │ │ │ ├── 21_String.meta │ │ │ ├── 21_String │ │ │ │ ├── TestString.cs │ │ │ │ ├── TestString.cs.meta │ │ │ │ ├── TestString.unity │ │ │ │ └── TestString.unity.meta │ │ │ ├── 22_Reflection.meta │ │ │ ├── 22_Reflection │ │ │ │ ├── TestReflection.cs │ │ │ │ ├── TestReflection.cs.meta │ │ │ │ ├── TestReflection.unity │ │ │ │ └── TestReflection.unity.meta │ │ │ ├── 23_List.meta │ │ │ ├── 23_List │ │ │ │ ├── UseList.cs │ │ │ │ ├── UseList.cs.meta │ │ │ │ ├── UseList.unity │ │ │ │ └── UseList.unity.meta │ │ │ ├── 24_Struct.meta │ │ │ ├── 24_Struct │ │ │ │ ├── PassStruct.cs │ │ │ │ ├── PassStruct.cs.meta │ │ │ │ ├── Struct.unity │ │ │ │ └── Struct.unity.meta │ │ │ ├── Performance.meta │ │ │ ├── Performance │ │ │ │ ├── Performance.unity │ │ │ │ ├── Performance.unity.meta │ │ │ │ ├── TestPerformance.cs │ │ │ │ └── TestPerformance.cs.meta │ │ │ ├── README.md │ │ │ ├── README.md.meta │ │ │ ├── Resources.meta │ │ │ ├── Resources │ │ │ │ ├── Lua.meta │ │ │ │ ├── Lua │ │ │ │ │ ├── Protol.meta │ │ │ │ │ ├── Protol │ │ │ │ │ │ ├── common_pb.lua.bytes │ │ │ │ │ │ ├── common_pb.lua.bytes.meta │ │ │ │ │ │ ├── person_pb.lua.bytes │ │ │ │ │ │ └── person_pb.lua.bytes.meta │ │ │ │ │ ├── TestErrorStack.lua.bytes │ │ │ │ │ ├── TestErrorStack.lua.bytes.meta │ │ │ │ │ ├── TestLoader.lua.bytes │ │ │ │ │ ├── TestLoader.lua.bytes.meta │ │ │ │ │ ├── TestLuaCoroutine.lua.bytes │ │ │ │ │ ├── TestLuaCoroutine.lua.bytes.meta │ │ │ │ │ ├── TestPerf.lua.bytes │ │ │ │ │ ├── TestPerf.lua.bytes.meta │ │ │ │ │ ├── ToLuaInjectionTestInjector.lua.bytes │ │ │ │ │ └── ToLuaInjectionTestInjector.lua.bytes.meta │ │ │ │ ├── jsonexample.json │ │ │ │ └── jsonexample.json.meta │ │ │ ├── TestErrorStack.meta │ │ │ ├── TestErrorStack │ │ │ │ ├── TestInstantiate.cs │ │ │ │ ├── TestInstantiate.cs.meta │ │ │ │ ├── TestInstantiate.prefab │ │ │ │ ├── TestInstantiate.prefab.meta │ │ │ │ ├── TestInstantiate2.cs │ │ │ │ ├── TestInstantiate2.cs.meta │ │ │ │ ├── TestInstantiate2.prefab │ │ │ │ ├── TestInstantiate2.prefab.meta │ │ │ │ ├── TestLuaStack.cs │ │ │ │ ├── TestLuaStack.cs.meta │ │ │ │ ├── TestLuaStack.unity │ │ │ │ └── TestLuaStack.unity.meta │ │ │ ├── TestInjection.meta │ │ │ ├── TestInjection │ │ │ │ ├── BaseTestWrap.cs │ │ │ │ ├── BaseTestWrap.cs.meta │ │ │ │ ├── TestInjection.cs │ │ │ │ ├── TestInjection.cs.meta │ │ │ │ ├── TestInjection.unity │ │ │ │ ├── TestInjection.unity.meta │ │ │ │ ├── ToLuaInjectionTest.cs │ │ │ │ ├── ToLuaInjectionTest.cs.meta │ │ │ │ ├── ToLuaInjectionTestWrap.cs │ │ │ │ └── ToLuaInjectionTestWrap.cs.meta │ │ │ ├── TestOverload.meta │ │ │ └── TestOverload │ │ │ │ ├── TestExportWrap.cs │ │ │ │ ├── TestExportWrap.cs.meta │ │ │ │ ├── TestExport_SpaceWrap.cs │ │ │ │ ├── TestExport_SpaceWrap.cs.meta │ │ │ │ ├── TestOverload.cs │ │ │ │ ├── TestOverload.cs.meta │ │ │ │ ├── TestOverload.unity │ │ │ │ └── TestOverload.unity.meta │ │ ├── Injection.meta │ │ ├── Injection │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ │ ├── CustomCecilRocks.meta │ │ │ │ ├── CustomCecilRocks │ │ │ │ │ ├── MethodBodyRocks.cs │ │ │ │ │ └── MethodBodyRocks.cs.meta │ │ │ │ ├── ToLuaInjection.cs │ │ │ │ ├── ToLuaInjection.cs.meta │ │ │ │ ├── ToLuaInjectionHelper.cs │ │ │ │ ├── ToLuaInjectionHelper.cs.meta │ │ │ │ ├── ToLuaText.cs │ │ │ │ ├── ToLuaText.cs.meta │ │ │ │ ├── ToluaInjectionBlackListPanel.cs │ │ │ │ └── ToluaInjectionBlackListPanel.cs.meta │ │ │ ├── InjectionBlackList.txt │ │ │ ├── InjectionBlackList.txt.meta │ │ │ ├── InjectionBridgeEditorInfo.xml │ │ │ ├── InjectionBridgeEditorInfo.xml.meta │ │ │ ├── LuaInjectionSkipPaths.txt │ │ │ ├── LuaInjectionSkipPaths.txt.meta │ │ │ ├── LuaInjectionStation.cs │ │ │ └── LuaInjectionStation.cs.meta │ │ ├── Lua.meta │ │ ├── Lua │ │ │ ├── Build.bat │ │ │ ├── Build.bat.meta │ │ │ ├── System.meta │ │ │ ├── System │ │ │ │ ├── Injection.meta │ │ │ │ ├── Injection │ │ │ │ │ ├── InjectionBridgeInfo.lua │ │ │ │ │ ├── InjectionBridgeInfo.lua.meta │ │ │ │ │ ├── LuaInjectionBus.lua │ │ │ │ │ ├── LuaInjectionBus.lua.meta │ │ │ │ │ ├── LuaInjectionStation.lua │ │ │ │ │ └── LuaInjectionStation.lua.meta │ │ │ │ ├── Reflection.meta │ │ │ │ ├── Reflection │ │ │ │ │ ├── BindingFlags.lua │ │ │ │ │ └── BindingFlags.lua.meta │ │ │ │ ├── Timer.lua │ │ │ │ ├── Timer.lua.meta │ │ │ │ ├── ValueType.lua │ │ │ │ ├── ValueType.lua.meta │ │ │ │ ├── coroutine.lua │ │ │ │ └── coroutine.lua.meta │ │ │ ├── UnityEngine.meta │ │ │ ├── UnityEngine │ │ │ │ ├── Bounds.lua │ │ │ │ ├── Bounds.lua.meta │ │ │ │ ├── Color.lua │ │ │ │ ├── Color.lua.meta │ │ │ │ ├── LayerMask.lua │ │ │ │ ├── LayerMask.lua.meta │ │ │ │ ├── Mathf.lua │ │ │ │ ├── Mathf.lua.meta │ │ │ │ ├── Plane.lua │ │ │ │ ├── Plane.lua.meta │ │ │ │ ├── Profiler.lua │ │ │ │ ├── Profiler.lua.meta │ │ │ │ ├── Quaternion.lua │ │ │ │ ├── Quaternion.lua.meta │ │ │ │ ├── Ray.lua │ │ │ │ ├── Ray.lua.meta │ │ │ │ ├── RaycastHit.lua │ │ │ │ ├── RaycastHit.lua.meta │ │ │ │ ├── Time.lua │ │ │ │ ├── Time.lua.meta │ │ │ │ ├── Touch.lua │ │ │ │ ├── Touch.lua.meta │ │ │ │ ├── Vector2.lua │ │ │ │ ├── Vector2.lua.meta │ │ │ │ ├── Vector3.lua │ │ │ │ ├── Vector3.lua.meta │ │ │ │ ├── Vector4.lua │ │ │ │ └── Vector4.lua.meta │ │ │ ├── cjson.meta │ │ │ ├── cjson │ │ │ │ ├── util.lua │ │ │ │ └── util.lua.meta │ │ │ ├── event.lua │ │ │ ├── event.lua.meta │ │ │ ├── jit.meta │ │ │ ├── jit │ │ │ │ ├── bc.lua │ │ │ │ ├── bc.lua.meta │ │ │ │ ├── bcsave.lua │ │ │ │ ├── bcsave.lua.meta │ │ │ │ ├── dis_arm.lua │ │ │ │ ├── dis_arm.lua.meta │ │ │ │ ├── dis_arm64.lua │ │ │ │ ├── dis_arm64.lua.meta │ │ │ │ ├── dis_arm64be.lua │ │ │ │ ├── dis_arm64be.lua.meta │ │ │ │ ├── dis_mips.lua │ │ │ │ ├── dis_mips.lua.meta │ │ │ │ ├── dis_mips64.lua │ │ │ │ ├── dis_mips64.lua.meta │ │ │ │ ├── dis_mips64el.lua │ │ │ │ ├── dis_mips64el.lua.meta │ │ │ │ ├── dis_mipsel.lua │ │ │ │ ├── dis_mipsel.lua.meta │ │ │ │ ├── dis_ppc.lua │ │ │ │ ├── dis_ppc.lua.meta │ │ │ │ ├── dis_x64.lua │ │ │ │ ├── dis_x64.lua.meta │ │ │ │ ├── dis_x86.lua │ │ │ │ ├── dis_x86.lua.meta │ │ │ │ ├── dump.lua │ │ │ │ ├── dump.lua.meta │ │ │ │ ├── p.lua │ │ │ │ ├── p.lua.meta │ │ │ │ ├── v.lua │ │ │ │ ├── v.lua.meta │ │ │ │ ├── zone.lua │ │ │ │ └── zone.lua.meta │ │ │ ├── list.lua │ │ │ ├── list.lua.meta │ │ │ ├── lpeg.meta │ │ │ ├── lpeg │ │ │ │ ├── re.lua │ │ │ │ └── re.lua.meta │ │ │ ├── ltn12.lua │ │ │ ├── ltn12.lua.meta │ │ │ ├── mime.lua │ │ │ ├── mime.lua.meta │ │ │ ├── misc.meta │ │ │ ├── misc │ │ │ │ ├── functions.lua │ │ │ │ ├── functions.lua.meta │ │ │ │ ├── strict.lua │ │ │ │ ├── strict.lua.meta │ │ │ │ ├── utf8.lua │ │ │ │ └── utf8.lua.meta │ │ │ ├── protobuf.meta │ │ │ ├── protobuf │ │ │ │ ├── containers.lua │ │ │ │ ├── containers.lua.meta │ │ │ │ ├── decoder.lua │ │ │ │ ├── decoder.lua.meta │ │ │ │ ├── descriptor.lua │ │ │ │ ├── descriptor.lua.meta │ │ │ │ ├── encoder.lua │ │ │ │ ├── encoder.lua.meta │ │ │ │ ├── listener.lua │ │ │ │ ├── listener.lua.meta │ │ │ │ ├── protobuf.lua │ │ │ │ ├── protobuf.lua.meta │ │ │ │ ├── text_format.lua │ │ │ │ ├── text_format.lua.meta │ │ │ │ ├── type_checkers.lua │ │ │ │ ├── type_checkers.lua.meta │ │ │ │ ├── wire_format.lua │ │ │ │ └── wire_format.lua.meta │ │ │ ├── slot.lua │ │ │ ├── slot.lua.meta │ │ │ ├── socket.lua │ │ │ ├── socket.lua.meta │ │ │ ├── socket.meta │ │ │ ├── socket │ │ │ │ ├── ftp.lua │ │ │ │ ├── ftp.lua.meta │ │ │ │ ├── headers.lua │ │ │ │ ├── headers.lua.meta │ │ │ │ ├── http.lua │ │ │ │ ├── http.lua.meta │ │ │ │ ├── mbox.lua │ │ │ │ ├── mbox.lua.meta │ │ │ │ ├── smtp.lua │ │ │ │ ├── smtp.lua.meta │ │ │ │ ├── tp.lua │ │ │ │ ├── tp.lua.meta │ │ │ │ ├── url.lua │ │ │ │ └── url.lua.meta │ │ │ ├── tolua.lua │ │ │ ├── tolua.lua.meta │ │ │ ├── typeof.lua │ │ │ └── typeof.lua.meta │ │ ├── Misc.meta │ │ ├── Misc │ │ │ ├── LuaClient.cs │ │ │ ├── LuaClient.cs.meta │ │ │ ├── LuaCoroutine.cs │ │ │ ├── LuaCoroutine.cs.meta │ │ │ ├── LuaLooper.cs │ │ │ ├── LuaLooper.cs.meta │ │ │ ├── LuaProfiler.cs │ │ │ ├── LuaProfiler.cs.meta │ │ │ ├── LuaResLoader.cs │ │ │ └── LuaResLoader.cs.meta │ │ ├── Reflection.meta │ │ ├── Reflection │ │ │ ├── LuaConstructor.cs │ │ │ ├── LuaConstructor.cs.meta │ │ │ ├── LuaField.cs │ │ │ ├── LuaField.cs.meta │ │ │ ├── LuaMethod.cs │ │ │ ├── LuaMethod.cs.meta │ │ │ ├── LuaProperty.cs │ │ │ ├── LuaProperty.cs.meta │ │ │ ├── LuaReflection.cs │ │ │ └── LuaReflection.cs.meta │ │ ├── readme.txt │ │ └── readme.txt.meta │ ├── link.xml │ └── link.xml.meta ├── _Project.meta └── _Project │ ├── Scenes.meta │ ├── Scenes │ ├── Test.unity │ └── Test.unity.meta │ ├── Scripts.meta │ └── Scripts │ ├── Lua.meta │ ├── Lua │ ├── Main.lua │ ├── Main.lua.meta │ ├── Test.lua │ └── Test.lua.meta │ ├── Managers.meta │ ├── Managers │ ├── LuaManager.cs │ └── LuaManager.cs.meta │ ├── Test.cs │ └── Test.cs.meta ├── CHANGELOG.md ├── LICENSE ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── MemorySettings.asset ├── MultiplayerManager.asset ├── NavMeshAreas.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset └── XRSettings.asset ├── README.md └── UserSettings ├── EditorUserSettings.asset ├── Search.index └── Search.settings /.gitignore: -------------------------------------------------------------------------------- 1 | # ignore the those directory 2 | /.git 3 | /.vs 4 | /.vscode 5 | /Temp 6 | /Build 7 | /Library 8 | /Logs 9 | /obj 10 | /Tutorials 11 | /Publish 12 | 13 | # Except these directory. 14 | !/Assets/Libraries/Tweener/ 15 | 16 | # ignore build info 17 | /Assets/StreamingAssets/build_info 18 | /Assets/StreamingAssets/build_info.* 19 | 20 | # ignore plugin for Unity built-in functionalities. 21 | /Assets/Plugins 22 | /Assets/Plugins.meta 23 | 24 | # don't include the video. 25 | /Video 26 | 27 | # ignore the following extension file 28 | *.svd 29 | *.userprefs 30 | *.csproj 31 | *.pidb 32 | *.suo 33 | *.sln 34 | *.user 35 | *.unityproj 36 | *.booproj 37 | *.orig 38 | *.app 39 | *.exe 40 | *.*_data 41 | .vsconfig 42 | *.dwlt 43 | 44 | # Unity3D generated meta files 45 | *.pidb.meta 46 | 47 | # Unity3D Generated File On Crash Reports 48 | sysinfo.txt 49 | 50 | # ignore mac attribute file 51 | *.DS_Store 52 | 53 | # Builds 54 | *.apk 55 | *.unitypackage 56 | 57 | # ignore log and todos. 58 | TODO(jenchieh).txt 59 | Update_Log.txt 60 | -------------------------------------------------------------------------------- /Assets/PackageExporter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f0c8382b16846143a01712905f45f40 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PackageExporter/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d517cfe235b5029439f2cc60892a254c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PackageExporter/Editor/PackageExporter.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/PackageExporter/Editor/PackageExporter.dll -------------------------------------------------------------------------------- /Assets/PackageExporter/Editor/PackageExporter.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52e7e818d0a98674bae61a8fd842187d 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Windows Store Apps: WindowsStoreApps 27 | second: 28 | enabled: 0 29 | settings: 30 | CPU: AnyCPU 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/PackageExporter/LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Pixisoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Assets/PackageExporter/LICENSE.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 775caf45e7564a84bb5d82e776e43433 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/PackageExporter/README.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/PackageExporter/README.pdf -------------------------------------------------------------------------------- /Assets/PackageExporter/README.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fe54e1506eb9c94abb363a31e447307 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/PackageExporter/template.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a5918c51b1522c4ab586d753996f1b6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PackageExporter/template/template.unityignore: -------------------------------------------------------------------------------- 1 | # 2 | # Thank you for using `Package Exporter`. This is the generated 3 | # unityignore file. 4 | # 5 | # Package Name: [PACKAGE_NAME] 6 | # Version: [VERSION_NO] 7 | # Creation Date: [CREATION_DATE] 8 | # 9 | # Package Link: https://github.com/jcs090218/PackageExporter 10 | # Author: Shen, Jen-Chieh 11 | # Email: jcs090218@gmail.com 12 | # 13 | 14 | # Ignore this plugin itself. 15 | PackageExporter/ 16 | -------------------------------------------------------------------------------- /Assets/PackageExporter/template/template.unityignore.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7bbea4aa32de490498c55735c8464dca 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/PackageExporter/unityignore.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13cb79343efbb0d488b863b5ebff4616 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PackageExporter/unityignore/README.txt: -------------------------------------------------------------------------------- 1 | All .unityignore files should be under this folder! 2 | -------------------------------------------------------------------------------- /Assets/PackageExporter/unityignore/README.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5594f646605a2134d9503d1d053f26a5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/PackageExporter/unityignore/UnityLua.unityignore: -------------------------------------------------------------------------------- 1 | # 2 | # Thank you for using 'Unity Package Exporter'. This is the generated 3 | # unityignore file. 4 | # 5 | # Package Name: UnityLua 6 | # Version: 0.1.1 7 | # Creation Date: 2020-03-24 17:15:43 8 | # 9 | # Package Link: https://github.com/jcs090218/UnityPackageExporter 10 | # Author: Shen, Jen-Chieh 11 | # Email: jcs090218@gmail.com 12 | # 13 | 14 | # Ignore this plugin itself. 15 | UnityPackageExporter 16 | -------------------------------------------------------------------------------- /Assets/PackageExporter/unityignore/UnityLua.unityignore.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 719fbd78e2c254d4a821609f58596dc8 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ToLua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6642b99ccf363e48b2473eaa22a6f7a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 772338ec68e701847a565d981a690787 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Editor/Custom.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 327fa85d300c38c48836bfee53f47cb0 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Editor/Custom/CustomSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d68e81cfa02de7e44a2ff558bdc3ac89 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e34dc6e361156f0439e74fa578a45650 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 729c01aec7bba814d88608249c8a170b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72b436146481b3f40b05eb161ca7f39c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/arm64-v8a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0b634708f930684ba94db0fa4f0baf6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/arm64-v8a/libtolua.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/Android/libs/arm64-v8a/libtolua.so -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/arm64-v8a/libtolua.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c0fdc89dabc68b643bd13d5de599f89d 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | platformData: 13 | - first: 14 | Android: Android 15 | second: 16 | enabled: 1 17 | settings: 18 | CPU: ARM64 19 | - first: 20 | Any: 21 | second: 22 | enabled: 0 23 | settings: {} 24 | - first: 25 | Editor: Editor 26 | second: 27 | enabled: 0 28 | settings: 29 | DefaultValueInitialized: true 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/armeabi-v7a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 034154e518117d842b99fd1f19efa3a3 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/armeabi-v7a/libtolua.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/Android/libs/armeabi-v7a/libtolua.so -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/armeabi-v7a/libtolua.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fb9a29f65e536b4293f7f9affd19158 3 | PluginImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | isPreloaded: 0 8 | platformData: 9 | Android: 10 | enabled: 1 11 | settings: 12 | CPU: ARMv7 13 | Any: 14 | enabled: 0 15 | settings: {} 16 | Editor: 17 | enabled: 0 18 | settings: 19 | CPU: AnyCPU 20 | DefaultValueInitialized: true 21 | OS: AnyOS 22 | Linux: 23 | enabled: 0 24 | settings: 25 | CPU: x86 26 | Linux64: 27 | enabled: 0 28 | settings: 29 | CPU: x86_64 30 | OSXIntel: 31 | enabled: 0 32 | settings: 33 | CPU: AnyCPU 34 | OSXIntel64: 35 | enabled: 0 36 | settings: 37 | CPU: AnyCPU 38 | Win: 39 | enabled: 0 40 | settings: 41 | CPU: AnyCPU 42 | Win64: 43 | enabled: 0 44 | settings: 45 | CPU: AnyCPU 46 | iOS: 47 | enabled: 0 48 | settings: 49 | CompileFlags: 50 | FrameworkDependencies: 51 | userData: 52 | assetBundleName: 53 | assetBundleVariant: 54 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/x86.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d76e3311efeac224996b0cb7a06a7a3a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/x86/libtolua.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/Android/libs/x86/libtolua.so -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Android/libs/x86/libtolua.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3f1ad25b4054b34d9105289ee492b57 3 | timeCreated: 1471082297 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Android: 12 | enabled: 1 13 | settings: 14 | CPU: x86 15 | Any: 16 | enabled: 0 17 | settings: {} 18 | Editor: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | DefaultValueInitialized: true 23 | OS: AnyOS 24 | Linux: 25 | enabled: 0 26 | settings: 27 | CPU: x86 28 | Linux64: 29 | enabled: 0 30 | settings: 31 | CPU: x86_64 32 | OSXIntel: 33 | enabled: 0 34 | settings: 35 | CPU: AnyCPU 36 | OSXIntel64: 37 | enabled: 0 38 | settings: 39 | CPU: AnyCPU 40 | Win: 41 | enabled: 0 42 | settings: 43 | CPU: AnyCPU 44 | Win64: 45 | enabled: 0 46 | settings: 47 | CPU: AnyCPU 48 | iOS: 49 | enabled: 0 50 | settings: 51 | CompileFlags: 52 | FrameworkDependencies: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/CString.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/CString.dll -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/CString.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b230d1754501cc478267c42cb8ae51d 3 | PluginImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | isPreloaded: 0 8 | platformData: 9 | Any: 10 | enabled: 1 11 | settings: {} 12 | Editor: 13 | enabled: 0 14 | settings: 15 | DefaultValueInitialized: true 16 | WindowsStoreApps: 17 | enabled: 0 18 | settings: 19 | CPU: AnyCPU 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Debugger.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/Debugger.dll -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/Debugger.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c33668af923d0aa4ebd48ebe80ef943a 3 | PluginImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | isPreloaded: 0 8 | platformData: 9 | Any: 10 | enabled: 1 11 | settings: {} 12 | Editor: 13 | enabled: 0 14 | settings: 15 | DefaultValueInitialized: true 16 | WindowsStoreApps: 17 | enabled: 0 18 | settings: 19 | CPU: AnyCPU 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3f3ab55ec6f8fe4a8ad1581c66be646 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/iOS/libtolua.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/iOS/libtolua.a -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/iOS/libtolua.a.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54c35a8b7bc7347e0a91ff24faf55409 3 | timeCreated: 1456833383 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Android: 12 | enabled: 0 13 | settings: 14 | CPU: AnyCPU 15 | Any: 16 | enabled: 0 17 | settings: {} 18 | Editor: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | DefaultValueInitialized: true 23 | OS: AnyOS 24 | Linux: 25 | enabled: 0 26 | settings: 27 | CPU: x86 28 | Linux64: 29 | enabled: 0 30 | settings: 31 | CPU: x86_64 32 | OSXIntel: 33 | enabled: 0 34 | settings: 35 | CPU: AnyCPU 36 | OSXIntel64: 37 | enabled: 0 38 | settings: 39 | CPU: AnyCPU 40 | Win: 41 | enabled: 0 42 | settings: 43 | CPU: AnyCPU 44 | Win64: 45 | enabled: 0 46 | settings: 47 | CPU: AnyCPU 48 | iOS: 49 | enabled: 1 50 | settings: 51 | CompileFlags: 52 | FrameworkDependencies: 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/tolua.bundle/Contents.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22990b789b0594c8785404a854b20a60 3 | folderAsset: yes 4 | timeCreated: 1497605579 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/tolua.bundle/Contents/Info.plist.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c70484778b37241228e041d528df2f81 3 | timeCreated: 1497605580 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/tolua.bundle/Contents/MacOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9bd8f6fa32a614c10b4789e20b57ff8f 3 | folderAsset: yes 4 | timeCreated: 1497605580 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/tolua.bundle/Contents/MacOS/tolua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/tolua.bundle/Contents/MacOS/tolua -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/tolua.bundle/Contents/MacOS/tolua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ad2d3f39b17a4505951dcdc9ef15320 3 | timeCreated: 1497605580 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/x86.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b0b0c4ffe67d2f4292c5211de91e55f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/x86/tolua.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/x86/tolua.dll -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/x86/tolua.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f4af3c74c7469d498c7c7c7a40ead91 3 | PluginImporter: 4 | serializedVersion: 1 5 | iconMap: {} 6 | executionOrder: {} 7 | isPreloaded: 0 8 | platformData: 9 | Android: 10 | enabled: 0 11 | settings: 12 | CPU: AnyCPU 13 | Any: 14 | enabled: 0 15 | settings: {} 16 | Editor: 17 | enabled: 1 18 | settings: 19 | CPU: x86 20 | DefaultValueInitialized: true 21 | OS: Windows 22 | Linux: 23 | enabled: 1 24 | settings: 25 | CPU: x86 26 | Linux64: 27 | enabled: 0 28 | settings: 29 | CPU: None 30 | LinuxUniversal: 31 | enabled: 0 32 | settings: 33 | CPU: x86 34 | OSXIntel: 35 | enabled: 1 36 | settings: 37 | CPU: AnyCPU 38 | OSXIntel64: 39 | enabled: 0 40 | settings: 41 | CPU: None 42 | OSXUniversal: 43 | enabled: 0 44 | settings: 45 | CPU: x86 46 | Win: 47 | enabled: 1 48 | settings: 49 | CPU: AnyCPU 50 | Win64: 51 | enabled: 0 52 | settings: 53 | CPU: None 54 | iOS: 55 | enabled: 0 56 | settings: 57 | CompileFlags: 58 | FrameworkDependencies: 59 | userData: 60 | assetBundleName: 61 | assetBundleVariant: 62 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/x86_64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ea0a8e1f899b1148badb9e92b431566 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Plugins/x86_64/tolua.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jcs090218/Unity.Lua/41a1f26afb5bf0f7395ba97c531f2fdf87eb89b8/Assets/ToLua/Plugins/x86_64/tolua.dll -------------------------------------------------------------------------------- /Assets/ToLua/Source.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51d939fde26e0e14891f186ff8635b87 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0a78131d3329a6429aef18c841165dc 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/DelegateFactory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b601554b6e73074a99764aab89026c9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/LuaBinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9621a0179b692cd46b020b1de545ebed 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/LuaInterface_DebuggerWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ccaf51b9aadf4b49bf8778cfba03732 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/LuaInterface_InjectTypeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dc43cf269381144b8e7e98122659683 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/LuaInterface_LuaInjectionStationWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e5d03bb76a8bd542a8451c73873463c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/LuaProfilerWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3742adbae729eb4286d667a151c9228 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AnimationBlendModeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61dfef335f44d0e4c921f74b87cb12c8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AnimationClipWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 855327d1567ee6548aaf9857aa3762f0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AnimationStateWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35869fdc2e2de7f45989dea19cccab23 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AnimationWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef88bb3787ae43a41ae3c366083f557a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AnimatorWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53098be33157db848b68a27c61a5f4cd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_ApplicationWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec7e06de298b5774a94ac2ebc6a41940 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AssetBundleWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ebf8165a39cbae4ba05f3fb6d166df9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AsyncOperationWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a6c2bbf0dd8afd48a2dfcfe152f9d64 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AudioBehaviourWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8f0f58102102494cab3a17ac110d984 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AudioClipWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62ce1a9b0481a184fbab4a564bb7a2f3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_AudioSourceWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf46a4e17c8ebec46b491a7080e7a338 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_BehaviourWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5c01cf32ee43f449bd41a3508b3e897 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_BoxColliderWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73d246ca36b9a08438cd4a18f45c46e5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_CameraClearFlagsWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 747fb407befb6704ca3e421ed27ad207 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_CameraWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e44ec50f656a98d459bb2b794c966e64 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_CapsuleColliderWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b382697582e58f4ea599690589b7b1c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_CharacterControllerWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 335ead602cf5ab946bf296aefc34a44c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_ColliderWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f6a7f6e492016048b3f479a5c1f16b6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_ComponentWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a42cde12bd5fe5041ac8752019b866f9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_GameObjectWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2bd9cff6642cd7488a88a8734358fe6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_InputWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52ab6e250c6ef3f419ed25d7a1ba4e0a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_KeyCodeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c0b119f5c721ff45bcd2bcf56b7d1db 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_LightTypeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 815cd7793a247e9428bf536060c89471 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_LightWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e1cee64847def94385825d327836d01 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_MaterialWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9f418df3f93f3b4989c2a9f3918b6f5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_MeshColliderWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62d3531c42f721b4ba1c54c310ff6952 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_MeshRendererWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81dac6a28a3db324683354144cb2c672 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_MonoBehaviourWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f05315b33de0a20449570cdb102e0038 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_ParticleSystemWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c98ede4b209ed6343bcb4c5960d3bc8b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_PhysicsWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fce9adcabca96746b903832930291d6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_PlayModeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b01df33ede611845b3e8dab7e20a84c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_QualitySettingsWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2bd2271fe61e5d4d82e86b52f15f1a4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_QueueModeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1ba5f2e10fa044479fd80045a43e231 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_RenderSettingsWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef281b49cb32f6941916e09e0ae39e28 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_RenderTextureWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a2f9ae852cceef84c8196a35b90fbfa5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_RendererWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bb84c7a19d8b7f4dbfb5d39ca39b35b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_ResourcesWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa33dd65e0fa69340916cc103878eb4c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_RigidbodyWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6eddaa4854f7134d849ad30ac303b15 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_ScreenWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc7d5ba845dccab4390ff4500032ec2f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_ShaderWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e0f8f0fe1e51124d8914c521a637873 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_SkinWeightsWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ceb2301f7cac1be468addb7b341d4b1c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_SkinnedMeshRendererWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a259c74420965ca4fab5d9cf0c578b5f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_SleepTimeoutWrap.cs: -------------------------------------------------------------------------------- 1 | //this source code was auto-generated by tolua#, do not modify it 2 | using System; 3 | using LuaInterface; 4 | 5 | public class UnityEngine_SleepTimeoutWrap 6 | { 7 | public static void Register(LuaState L) 8 | { 9 | L.BeginStaticLibs("SleepTimeout"); 10 | L.RegConstant("NeverSleep", -1); 11 | L.RegConstant("SystemSetting", -2); 12 | L.EndStaticLibs(); 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_SleepTimeoutWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3cba45fa572e55468361f72220370ab 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_SpaceWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f38f663a51cc5e14ebd7f68d0956e851 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_SphereColliderWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a8d370b8077d684d924a87850d59fc5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_Texture2DWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eac8a328ca030f641a60ec98474f53e4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_TextureWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97eca691436519d48896ed4e895f558e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_TimeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 451d507486803dc44b44360dc2dffdb4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_TrackedReferenceWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01a76833b41e36148be8035095946cd8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_TransformWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f0f458227e9ee44bb4aa438e55dcb2b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_WWWWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e58e7a84ed779644c88ce2b801337b62 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/Generate/UnityEngine_WrapModeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a8b04543fa5e9144a2c6b0d832d7b4a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/Source/LuaConst.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public static class LuaConst 4 | { 5 | public static string luaDir = Application.dataPath + "/_Project/Scripts/Lua"; //lua逻辑代码目录 6 | public static string toluaDir = Application.dataPath + "/ToLua/ToLua/Lua"; //tolua lua文件目录 7 | 8 | #if UNITY_STANDALONE 9 | public static string osDir = "Win"; 10 | #elif UNITY_ANDROID 11 | public static string osDir = "Android"; 12 | #elif UNITY_IPHONE 13 | public static string osDir = "iOS"; 14 | #else 15 | public static string osDir = ""; 16 | #endif 17 | 18 | public static string luaResDir = string.Format("{0}/{1}/Lua", Application.persistentDataPath, osDir); //手机运行时lua文件下载目录 19 | 20 | #if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN 21 | public static string zbsDir = "D:/ZeroBraneStudio/lualibs/mobdebug"; //ZeroBraneStudio目录 22 | #elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX 23 | public static string zbsDir = "/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/lualibs/mobdebug"; 24 | #else 25 | public static string zbsDir = luaResDir + "/mobdebug/"; 26 | #endif 27 | 28 | public static bool openLuaSocket = true; //是否打开Lua Socket库 29 | public static bool openLuaDebugger = false; //是否连接lua调试器 30 | } -------------------------------------------------------------------------------- /Assets/ToLua/Source/LuaConst.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35b0c8bef181f2d4dacd3c860eb546a7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 032822da3092a2543aabbd58c5697222 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 337508ffab1cff64bbf7476789c95d59 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_EventObjectWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9eec90316b4c2da499dee7c75f1f94ae 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaConstructorWrap.cs: -------------------------------------------------------------------------------- 1 | //this source code was auto-generated by tolua#, do not modify it 2 | using System; 3 | using LuaInterface; 4 | 5 | public class LuaInterface_LuaConstructorWrap 6 | { 7 | public static void Register(LuaState L) 8 | { 9 | L.BeginClass(typeof(LuaInterface.LuaConstructor), typeof(System.Object)); 10 | L.RegFunction("Call", Call); 11 | L.RegFunction("Destroy", Destroy); 12 | L.RegFunction("__tostring", ToLua.op_ToString); 13 | L.EndClass(); 14 | } 15 | 16 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 17 | static int Call(IntPtr L) 18 | { 19 | try 20 | { 21 | LuaConstructor obj = (LuaConstructor)ToLua.CheckObject(L, 1, typeof(LuaConstructor)); 22 | return obj.Call(L); 23 | } 24 | catch(Exception e) 25 | { 26 | return LuaDLL.toluaL_exception(L, e); 27 | } 28 | } 29 | 30 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 31 | static int Destroy(IntPtr L) 32 | { 33 | try 34 | { 35 | ToLua.CheckArgsCount(L, 1); 36 | LuaConstructor obj = (LuaConstructor)ToLua.CheckObject(L, 1, typeof(LuaConstructor)); 37 | obj.Destroy(); 38 | ToLua.Destroy(L); 39 | return 0; 40 | } 41 | catch(Exception e) 42 | { 43 | return LuaDLL.toluaL_exception(L, e); 44 | } 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaConstructorWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be39bc8579dccd14bb20b24e64a68faf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaFieldWrap.cs: -------------------------------------------------------------------------------- 1 | //this source code was auto-generated by tolua#, do not modify it 2 | using System; 3 | using LuaInterface; 4 | 5 | public class LuaInterface_LuaFieldWrap 6 | { 7 | public static void Register(LuaState L) 8 | { 9 | L.BeginClass(typeof(LuaInterface.LuaField), typeof(System.Object)); 10 | L.RegFunction("Get", Get); 11 | L.RegFunction("Set", Set); 12 | L.RegFunction("__tostring", ToLua.op_ToString); 13 | L.EndClass(); 14 | } 15 | 16 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 17 | static int Get(IntPtr L) 18 | { 19 | try 20 | { 21 | LuaField obj = (LuaField)ToLua.CheckObject(L, 1, typeof(LuaField)); 22 | return obj.Get(L); 23 | } 24 | catch (Exception e) 25 | { 26 | return LuaDLL.toluaL_exception(L, e); 27 | } 28 | } 29 | 30 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 31 | static int Set(IntPtr L) 32 | { 33 | try 34 | { 35 | LuaField obj = (LuaField)ToLua.CheckObject(L, 1, typeof(LuaField)); 36 | return obj.Set(L); 37 | } 38 | catch (Exception e) 39 | { 40 | return LuaDLL.toluaL_exception(L, e); 41 | } 42 | } 43 | } 44 | 45 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaFieldWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58e0ce586689f58419f26062891e1fc1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaMethodWrap.cs: -------------------------------------------------------------------------------- 1 | //this source code was auto-generated by tolua#, do not modify it 2 | using System; 3 | using LuaInterface; 4 | 5 | public class LuaInterface_LuaMethodWrap 6 | { 7 | public static void Register(LuaState L) 8 | { 9 | L.BeginClass(typeof(LuaInterface.LuaMethod), typeof(System.Object)); 10 | L.RegFunction("Destroy", Destroy); 11 | L.RegFunction("Call", Call); 12 | L.RegFunction("__tostring", ToLua.op_ToString); 13 | L.EndClass(); 14 | } 15 | 16 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 17 | static int Destroy(IntPtr L) 18 | { 19 | try 20 | { 21 | ToLua.CheckArgsCount(L, 1); 22 | LuaMethod obj = (LuaMethod)ToLua.CheckObject(L, 1, typeof(LuaMethod)); 23 | obj.Destroy(); 24 | ToLua.Destroy(L); 25 | return 0; 26 | } 27 | catch(Exception e) 28 | { 29 | return LuaDLL.toluaL_exception(L, e); 30 | } 31 | } 32 | 33 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 34 | static int Call(IntPtr L) 35 | { 36 | try 37 | { 38 | LuaMethod obj = (LuaMethod)ToLua.CheckObject(L, 1, typeof(LuaMethod)); 39 | return obj.Call(L); 40 | } 41 | catch(Exception e) 42 | { 43 | return LuaDLL.toluaL_exception(L, e); 44 | } 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaMethodWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd62b7af99a9c284cb3b8c9c8a177e8c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaOutWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ba873a052f57bc45890275ec67bb4dc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaPropertyWrap.cs: -------------------------------------------------------------------------------- 1 | //this source code was auto-generated by tolua#, do not modify it 2 | using System; 3 | using LuaInterface; 4 | 5 | public class LuaInterface_LuaPropertyWrap 6 | { 7 | public static void Register(LuaState L) 8 | { 9 | L.BeginClass(typeof(LuaInterface.LuaProperty), typeof(System.Object)); 10 | L.RegFunction("Get", Get); 11 | L.RegFunction("Set", Set); 12 | L.RegFunction("__tostring", ToLua.op_ToString); 13 | L.EndClass(); 14 | } 15 | 16 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 17 | static int Get(IntPtr L) 18 | { 19 | try 20 | { 21 | LuaProperty obj = (LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaProperty)); 22 | return obj.Get(L); 23 | } 24 | catch (Exception e) 25 | { 26 | return LuaDLL.toluaL_exception(L, e); 27 | } 28 | } 29 | 30 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 31 | static int Set(IntPtr L) 32 | { 33 | try 34 | { 35 | LuaProperty obj = (LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaProperty)); 36 | return obj.Set(L); 37 | } 38 | catch (Exception e) 39 | { 40 | return LuaDLL.toluaL_exception(L, e); 41 | } 42 | } 43 | } 44 | 45 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/LuaInterface_LuaPropertyWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b401947a631ece4487e44f4b8ef9418 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_ArrayWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 270e5e13dbb276c47a14c00ec09f9254 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_Collections_Generic_DictionaryWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 973a63c864c67f34b852be1021aa8445 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_Collections_Generic_Dictionary_KeyCollectionWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5a969e41ba260d4197ec05de2e0b107 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_Collections_Generic_Dictionary_ValueCollectionWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b073f28ab535d6478ab1e2f76f44547 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_Collections_Generic_KeyValuePairWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bfe26e81faf9a1498eaae521869ecea 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_Collections_Generic_ListWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9806172156647e244b2fb905a4d02611 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_Collections_IEnumeratorWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7eaa472c4f36f9d419d9bf704795f0d6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_Collections_ObjectModel_ReadOnlyCollectionWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa5b181e2942520408fb4d6bac615d4f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_DelegateWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86ed9798a2c5dc74e9018394dfc827ea 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_EnumWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fd9d683a50920540914bdd15aa75290 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_NullObjectWrap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public class System_NullObjectWrap 5 | { 6 | public static void Register(LuaState L) 7 | { 8 | L.BeginClass(typeof(NullObject), null, "null"); 9 | L.EndClass(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_NullObjectWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdcd3994912f4e145b1f12f3d76376b6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_ObjectWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcf1094389eec494d9d80c46f54f2a7e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_StringWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6380cf60ae81034418e4fe4dabc06bc2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/System_TypeWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a713f1fe057cf7248b09e045a105933b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/UnityEngine_CoroutineWrap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public class UnityEngine_CoroutineWrap 5 | { 6 | public static void Register(LuaState L) 7 | { 8 | L.BeginClass(typeof(UnityEngine.Coroutine), null); 9 | L.RegFunction("__tostring", ToLua.op_ToString); 10 | L.EndClass(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/UnityEngine_CoroutineWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0142bbe402aab764582bb960d6966d34 3 | timeCreated: 1471422858 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/BaseType/UnityEngine_ObjectWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66f068299d0233f409ae0011b24ae1ba 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7714c4ebcd6e6474da6ec5df53bca350 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaAttributes.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 036fab5eb22f19e4bba933e194fb4756 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaBaseRef.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39292548101f65b41be91c5d20f20812 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaBeatEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7332596f22ac5446852c531d7148318 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaDLL.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d60cef534e986e849a829838fbeb74b5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce5b2d0ac4f71564c84ecc85556409a4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b37c8a2d4e86364c85c26a407d79af7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaFileUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc1dfae6a246cdf418b607701b2dfc7c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaFunction.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f2e7f7664506cc45b1e1d375c066432 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaMatchType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23fa92cf1685f2d4da97d54967a224ad 3 | timeCreated: 1494397554 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaMethodCache.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d0c295670bdae343be5791ad4a0e9ae 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaMisc.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49b0c76b911a9d34bac07d4b3aa7f6de 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaStackOp.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57935fe3acd7c654599f70b62465e1d0 3 | timeCreated: 1495076837 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 358b86bdf79858e46b17d8700238c397 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaStatePtr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e68c435592e3d3b47a315497b6150aae 3 | timeCreated: 1515060461 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaStatic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7f8fdc4e97256748b422edf401c641d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaTable.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b68fd1e3004ea4a4a879bf6fbda73510 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaThread.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c80e713269311db4689148e01949206a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaUnityLibs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f293d0bd6470a044a8688cd9a61b433 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/LuaValueType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: caa2d85e8d1314547a78624e7fec25a3 3 | timeCreated: 1494919728 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/ObjectPool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 375ac727a60642f4e9db9303e4025911 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/ObjectTranslator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 607902915586ecd43b863b154c1337ad 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/ToLua.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8558028e53ff5d946b0ef857634815da 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/TypeChecker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b2c5d493c1805784994fefe7b22da126 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Core/TypeTraits.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82858b365ef4145429c2f3227be8c845 3 | timeCreated: 1494572166 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d9fa950d6c449e42893b939877b4ec7 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bdd2718c24fc3014d96c208f87886fe3 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_EventObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a98ce054e1b9e848a9ed23974b72436 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaConstructor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public class ToLua_LuaInterface_LuaConstructor 5 | { 6 | public static string CallDefined = 7 | @" try 8 | { 9 | LuaConstructor obj = (LuaConstructor)ToLua.CheckObject(L, 1, typeof(LuaConstructor)); 10 | return obj.Call(L); 11 | } 12 | catch(Exception e) 13 | { 14 | return LuaDLL.toluaL_exception(L, e); 15 | }"; 16 | 17 | public static string DestroyDefined = 18 | @" try 19 | { 20 | ToLua.CheckArgsCount(L, 1); 21 | LuaConstructor obj = (LuaConstructor)ToLua.CheckObject(L, 1, typeof(LuaConstructor)); 22 | obj.Destroy(); 23 | ToLua.Destroy(L); 24 | return 0; 25 | } 26 | catch(Exception e) 27 | { 28 | return LuaDLL.toluaL_exception(L, e); 29 | }"; 30 | 31 | [UseDefinedAttribute] 32 | public void Destroy() 33 | { 34 | 35 | } 36 | 37 | [UseDefinedAttribute] 38 | public int Call(IntPtr L) 39 | { 40 | return 0; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaConstructor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24ae6f8094d27814db58bed92723e5eb 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaField.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public class ToLua_LuaInterface_LuaField 5 | { 6 | public static string GetDefined = 7 | @" try 8 | { 9 | LuaField obj = (LuaField)ToLua.CheckObject(L, 1, typeof(LuaField)); 10 | return obj.Get(L); 11 | } 12 | catch (Exception e) 13 | { 14 | return LuaDLL.toluaL_exception(L, e); 15 | }"; 16 | 17 | public static string SetDefined = 18 | @" try 19 | { 20 | LuaField obj = (LuaField)ToLua.CheckObject(L, 1, typeof(LuaField)); 21 | return obj.Set(L); 22 | } 23 | catch (Exception e) 24 | { 25 | return LuaDLL.toluaL_exception(L, e); 26 | }"; 27 | 28 | [UseDefinedAttribute] 29 | public int Set(IntPtr L) 30 | { 31 | return 0; 32 | } 33 | 34 | [UseDefinedAttribute] 35 | public int Get(IntPtr L) 36 | { 37 | return 0; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaField.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6b190ca703de424fafa500033a782a3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaMethod.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public class ToLua_LuaInterface_LuaMethod 5 | { 6 | public static string CallDefined = 7 | @" try 8 | { 9 | LuaMethod obj = (LuaMethod)ToLua.CheckObject(L, 1, typeof(LuaMethod)); 10 | return obj.Call(L); 11 | } 12 | catch(Exception e) 13 | { 14 | return LuaDLL.toluaL_exception(L, e); 15 | }"; 16 | 17 | public static string DestroyDefined = 18 | @" try 19 | { 20 | ToLua.CheckArgsCount(L, 1); 21 | LuaMethod obj = (LuaMethod)ToLua.CheckObject(L, 1, typeof(LuaMethod)); 22 | obj.Destroy(); 23 | ToLua.Destroy(L); 24 | return 0; 25 | } 26 | catch(Exception e) 27 | { 28 | return LuaDLL.toluaL_exception(L, e); 29 | }"; 30 | 31 | [UseDefinedAttribute] 32 | public int Call(IntPtr L) 33 | { 34 | return 0; 35 | } 36 | 37 | [UseDefinedAttribute] 38 | public void Destroy() 39 | { 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaMethod.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6eac87eec04d6e547ac028d69e0eeb71 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaProperty.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public class ToLua_LuaInterface_LuaProperty 5 | { 6 | public static string GetDefined = 7 | @" try 8 | { 9 | LuaProperty obj = (LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaProperty)); 10 | return obj.Get(L); 11 | } 12 | catch (Exception e) 13 | { 14 | return LuaDLL.toluaL_exception(L, e); 15 | }"; 16 | 17 | public static string SetDefined = 18 | @" try 19 | { 20 | LuaProperty obj = (LuaProperty)ToLua.CheckObject(L, 1, typeof(LuaProperty)); 21 | return obj.Set(L); 22 | } 23 | catch (Exception e) 24 | { 25 | return LuaDLL.toluaL_exception(L, e); 26 | }"; 27 | 28 | 29 | [UseDefinedAttribute] 30 | public int Set(IntPtr L) 31 | { 32 | return 0; 33 | } 34 | 35 | [UseDefinedAttribute] 36 | public int Get(IntPtr L) 37 | { 38 | return 0; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_LuaInterface_LuaProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e00a567610c97754bbae9672db75a1f2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_System_Delegate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f0591686bc09e74e9a4fe2ad4e9fdb2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_System_Enum.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff4fa54c22d6f7c428ef9aa02f6c10d4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_System_Object.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public class ToLua_System_Object 5 | { 6 | public static string DestroyDefined = "\t\treturn ToLua.Destroy(L);"; 7 | 8 | [UseDefinedAttribute] 9 | public static void Destroy(object obj) 10 | { 11 | } 12 | 13 | public static bool op_Equality(Object x, Object y) 14 | { 15 | return false; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_System_Object.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afb4e6913f506df4c9eb98f70781a578 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_System_String.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using LuaInterface; 4 | 5 | public class ToLua_System_String 6 | { 7 | [NoToLuaAttribute] 8 | public static string ToLua_System_StringDefined = 9 | @" try 10 | { 11 | LuaTypes luatype = LuaDLL.lua_type(L, 1); 12 | 13 | if (luatype == LuaTypes.LUA_TSTRING) 14 | { 15 | string arg0 = LuaDLL.lua_tostring(L, 1); 16 | ToLua.PushSealed(L, arg0); 17 | return 1; 18 | } 19 | else 20 | { 21 | return LuaDLL.luaL_throw(L, ""invalid arguments to string's ctor method""); 22 | } 23 | } 24 | catch(Exception e) 25 | { 26 | return LuaDLL.toluaL_exception(L, e); 27 | }"; 28 | 29 | [UseDefinedAttribute] 30 | public ToLua_System_String() 31 | { 32 | 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_System_String.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7cc775dacb56ec34587e28d9e3f68417 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_System_Type.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a67e5f490d5d4cd4f8754c921a414d9a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_UnityEngine_GameObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ed77ac31b521ad4bae3fe7e8b84cab4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_UnityEngine_Input.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using LuaInterface; 3 | 4 | public class ToLua_UnityEngine_Input 5 | { 6 | public static string GetTouchDefined = 7 | @" try 8 | { 9 | int arg0 = (int)LuaDLL.luaL_checknumber(L, 1); 10 | int arg1 = LuaDLL.luaL_optinteger(L, 2, TouchBits.ALL); 11 | UnityEngine.Touch o = UnityEngine.Input.GetTouch(arg0); 12 | ToLua.Push(L, o, arg1); 13 | return 1; 14 | } 15 | catch(Exception e) 16 | { 17 | return LuaDLL.toluaL_exception(L, e); 18 | }"; 19 | 20 | [UseDefinedAttribute] 21 | public static Touch GetTouch(int index, int flag) 22 | { 23 | return new Touch(); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_UnityEngine_Input.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cee476932ca9a04da9cff77f92e1894 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_UnityEngine_Object.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed2a77b78fd7258438b2b5a9e881d7c2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/Extend/ToLua_UnityEngine_RectTransform.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2479ef1b120013c478a5f7148251be9e 3 | timeCreated: 1501832587 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/ToLuaExport.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73e814f0ef0ab914181c1f1e0a989935 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/ToLuaMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97fb7996cd1338442af03841f30cddaf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Editor/ToLuaTree.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99b4e579c20c91f4d84ce5aa9add4672 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 940a49ebae9b91b4fb0682c92d968933 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/01_HelloWorld.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79324a58d1dd94843a6e15fb4d77da66 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/01_HelloWorld/HelloWorld.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using LuaInterface; 3 | using System; 4 | 5 | public class HelloWorld : MonoBehaviour 6 | { 7 | void Awake() 8 | { 9 | LuaState lua = new LuaState(); 10 | lua.Start(); 11 | string hello = 12 | @" 13 | print('hello tolua#') 14 | "; 15 | 16 | lua.DoString(hello, "HelloWorld.cs"); 17 | lua.CheckTop(); 18 | lua.Dispose(); 19 | lua = null; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/01_HelloWorld/HelloWorld.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1db6056d0e0ccb049ae392139c512608 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/01_HelloWorld/HelloWorld.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ce3f2dc80a0205428a5372f74800258 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/02_ScriptsFromFile.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71ca7fe863de8dd4d8a6057d043df5e4 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/02_ScriptsFromFile/ScriptsFromFile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17346dbce1e39bd4b8cb9cdf6b9249e7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/02_ScriptsFromFile/ScriptsFromFile.lua: -------------------------------------------------------------------------------- 1 | print("This is a script from a utf8 file") 2 | print("tolua: 你好! こんにちは! 안녕하세요!") 3 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/02_ScriptsFromFile/ScriptsFromFile.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbc95a40dca6ccf448ff2a7f1905e751 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/02_ScriptsFromFile/ScriptsFromFile.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e011b54a109dd1c43b5ed71ca3590a32 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/03_CallLuaFunction.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b90da095ffcaa34891335989ba05ddf 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/03_CallLuaFunction/CallLuaFunction.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11338f45069e3e041b7c42b60897ce0a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/03_CallLuaFunction/CallLuaFunction.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b95d9c7995843244812901527540c78 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/04_AccessingLuaVariables.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b3a357bb0337ee438db20f82382e246 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/04_AccessingLuaVariables/AccessingLuaVariables.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3121aadbc8cdbeb488fdc0cfd1032ead 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/04_AccessingLuaVariables/AccessingLuaVariables.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b440f9ea3ca78884cbc8bd834a84ee54 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/05_LuaCoroutine.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4aab46dd051561242b5f1dd79f189a42 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/05_LuaCoroutine/LuaCoroutine.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 811fd4e3aec57234ea72e1ed44701a9c 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/05_LuaCoroutine/TestCoroutine.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fdb28fb1b0a1eb4391deef05b03405d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/06_LuaCoroutine2.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bf03102ccd94cb45afe01e02bf19184 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/06_LuaCoroutine2/Coroutine.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4db2739d8c3e5af4ca5647e7ded00f68 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/06_LuaCoroutine2/TestCoroutine2.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 252cf94b5db18424a94f00ddbd580ee0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/07_LuaThread.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34683a8c5207cb3438b3b06aa2ef38c8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/07_LuaThread/TestLuaThread.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd0d38a2cd6c8794ebb1150cc3678db6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/07_LuaThread/TestThread.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4bc55bdc0d2bff34a9abc55c4eeebdc0 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/08_AccessingArray.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d74fee3fd9c8cb64e8d8083fb944a9c3 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/08_AccessingArray/AccessingArray.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82a287200877e9344a7e6b2d58dfe019 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/08_AccessingArray/AccessingArray.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f3cdbddf148392458f85eed2085860c 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d308146ac25b5a74d99ced6f74495105 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary/System_Collections_Generic_Dictionary_int_TestAccountWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7eaa1793aebc03847bbeff73e29e711a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary/System_Collections_Generic_Dictionary_int_TestAccount_KeyCollectionWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae6d6c27412c9fa4e815ef0f87e01cc2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary/System_Collections_Generic_Dictionary_int_TestAccount_ValueCollectionWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c353ebccdf1714241a37253dd58c9309 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary/System_Collections_Generic_KeyValuePair_int_TestAccountWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e6f1375290fa13745bc07de7193ecc3e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary/TestAccountWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b763e457bd5365e46bf64d146d0d5a3b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary/UseDictionary.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 23454681bd34d36498eafe3bb988240d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/09_Dictionary/UseDictionary.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5dc40f31458a9544aa74bcdad6d15d06 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/10_Enum.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fbe9c6c5abd052b488c851260cc2cb92 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/10_Enum/AccessingEnum.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: acd101a7d0a84e64198674b06dba633d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/10_Enum/AccessingEnum.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a217aecbea099fd4cbb21c9795f57884 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/11_Delegate.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bafe37b805a5b274aaee648a0b64bcb2 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/11_Delegate/TestDelegate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aebc047d4185a4942b0220c97c91154e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/11_Delegate/TestEventListener.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using System.Collections; 4 | using LuaInterface; 5 | 6 | public sealed class TestEventListener : MonoBehaviour 7 | { 8 | public delegate void VoidDelegate(GameObject go); 9 | public delegate void OnClick(GameObject go); 10 | public OnClick onClick = delegate { }; 11 | 12 | public event OnClick onClickEvent = delegate { }; 13 | 14 | public Func TestFunc = null; 15 | 16 | public void SetOnFinished(OnClick click) 17 | { 18 | Debugger.Log("SetOnFinished OnClick"); 19 | } 20 | 21 | public void SetOnFinished(VoidDelegate click) 22 | { 23 | Debugger.Log("SetOnFinished VoidDelegate"); 24 | } 25 | 26 | [NoToLuaAttribute] 27 | public void OnClickEvent(GameObject go) 28 | { 29 | onClickEvent(go); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/11_Delegate/TestEventListener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b909bbc52f2fc814ab97a3b1038ec9ee 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/11_Delegate/TestEventListenerWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e84ecc8101f77e45bab712de82fed53 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/11_Delegate/UseDelegate.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c371c24024790e4fafc6efd6656ffa8 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/12_GameObject.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c05e0dc08239c724bba79944e7ccbcaa 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/12_GameObject/TestGameObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a206b7d4dbb78541b0e1be49fa5d338 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/12_GameObject/TestGameObject.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd44e2bbf67026a4eb7a12cc132f5515 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/13_CustomLoader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc9a6d7d2170ce43bfdcb7197628a9d 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/13_CustomLoader/CustomLoader.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64a15f71c3e8ada48bbf2dec47d8eb0d 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/13_CustomLoader/TestCustomLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc2267b374446b24faf55d67673d8e63 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/14_Out.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9762f66a6f78d843b27a77925f63e3f 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/14_Out/TestOut.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1cff06827ae69d45ba691b5714e066d 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/14_Out/TestOutArg.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb859a8f0bf518243b6fc7c57eeef886 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cac1317b8ab1d3a438e2fa736a69d7fe 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/ProtoBuffer.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a4304ba0253d9241b8bf736a8607df6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/TestProtoBuffer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07805e704145c3b47b7c511a16d66d99 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/TestProtol.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using LuaInterface; 3 | 4 | public static class TestProtol 5 | { 6 | [LuaByteBufferAttribute] 7 | public static byte[] data; 8 | } 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/TestProtol.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 486ec4f4b6496a94c85974a2e0c1bd78 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/TestProtolWrap.cs: -------------------------------------------------------------------------------- 1 | //this source code was auto-generated by tolua#, do not modify it 2 | using System; 3 | using LuaInterface; 4 | 5 | public class TestProtolWrap 6 | { 7 | public static void Register(LuaState L) 8 | { 9 | L.BeginStaticLibs("TestProtol"); 10 | L.RegVar("data", get_data, set_data); 11 | L.EndStaticLibs(); 12 | } 13 | 14 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 15 | static int get_data(IntPtr L) 16 | { 17 | try 18 | { 19 | LuaDLL.tolua_pushlstring(L, TestProtol.data, TestProtol.data.Length); 20 | return 1; 21 | } 22 | catch (Exception e) 23 | { 24 | return LuaDLL.toluaL_exception(L, e); 25 | } 26 | } 27 | 28 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 29 | static int set_data(IntPtr L) 30 | { 31 | try 32 | { 33 | byte[] arg0 = ToLua.CheckByteBuffer(L, 2); 34 | TestProtol.data = arg0; 35 | return 0; 36 | } 37 | catch (Exception e) 38 | { 39 | return LuaDLL.toluaL_exception(L, e); 40 | } 41 | } 42 | } 43 | 44 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/TestProtolWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25408b0022185f34c9744c405ad5da65 3 | timeCreated: 1515038394 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/common.proto: -------------------------------------------------------------------------------- 1 | 2 | message Header 3 | { 4 | required int64 cmd = 1; 5 | required int32 seq = 2; 6 | } -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/common.proto.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 760d09f03acd6ed4e94516e3b7439c54 3 | timeCreated: 1498133645 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/person.proto: -------------------------------------------------------------------------------- 1 | import "common.proto"; 2 | 3 | message Person 4 | { 5 | required Header header = 1; 6 | required int64 id = 2; 7 | required string name = 3; 8 | optional int32 age = 4 [default = 18]; 9 | optional string email = 5 [default = "topameng@qq.com"]; 10 | repeated int32 array = 6; 11 | 12 | extensions 10 to max; 13 | } 14 | 15 | message Phone 16 | { 17 | extend Person { repeated Phone phones = 10;} 18 | 19 | enum PHONE_TYPE 20 | { 21 | MOBILE = 1; 22 | HOME = 2; 23 | } 24 | optional string num = 1; 25 | optional PHONE_TYPE type = 2; 26 | } 27 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/15_ProtoBuffer/person.proto.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f84fe6c5b2078174bb56bed15abd687b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/16_Int64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56454d123fe4d2a47a2a1bf5e9a7399b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/16_Int64/TestInt64.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2eb3e2c0caea144e8cbbb8de6ed33f8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/16_Int64/TestInt64.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f5fdf9606a2d854590fcbd3926005e4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/17_Inherit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49da3d0eb205def459dc639d92b7cc77 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/17_Inherit/Inherit.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3cf1516f0a320b49a263c1fed026319 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/17_Inherit/TestInherit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9cb964bd30f70946ab3ba186316e134 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/18_Bundle.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07aecff784dcab84393e4fad04c7b35d 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/18_Bundle/TesetAssetBundle.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 207ce505e47eb8542963d4972b45b05d 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/18_Bundle/TestABLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d357c949a4510b146a6e82777d131d20 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/19_cjson.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c1a9e6cb95cdea4cbc97a336446abe8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/19_cjson/TestCJson.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3dab0c9b55ca0f44a0d3b8a50edf396 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/19_cjson/testcjson.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0dbc965b474b6824db5cb79d380403e4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/20_utf8.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48896cd2daf4f4542ba776681732210a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/20_utf8/TestUTF8.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c58b879bbb37ee4891c46ef87989f91 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/20_utf8/utf8.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74b6932cd0642734eb36e554528a9825 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/21_String.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7bfd51b922b87a4ba399b7f73540493 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/21_String/TestString.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73dc7ee420beffa4b9db2334045dabba 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/21_String/TestString.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e6bca3bb283b3247a8692ac6e03d4ff 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/22_Reflection.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1160a89e211090a4ea787fb5145cc984 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/22_Reflection/TestReflection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fab693360b2865f4a9121b9959993d29 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/22_Reflection/TestReflection.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c297fdd08a27a54a96505801547f7b2 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/23_List.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 665099d7241e1a54fb217e3b172e21a7 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/23_List/UseList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a4f97c41d925314c853a72d43fb5166 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/23_List/UseList.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4f35714ff91744489f71618b0ae9fd8 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/24_Struct.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a817b98d5c7d23e4c9c6afb6ac646cbe 3 | folderAsset: yes 4 | timeCreated: 1495007845 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/24_Struct/PassStruct.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51af02ba87a948543b788453b5bb790c 3 | timeCreated: 1495007962 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/24_Struct/Struct.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bab0d380ec96e4846bcd28c1d626d89f 3 | timeCreated: 1495007901 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Performance.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f240c18ff8d4eb44390f8d949e2f6fbd 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Performance/Performance.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0693d19658479a642a7faaa61feb2c09 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Performance/TestPerformance.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3be970387cfeea42a1944adffc6fffc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9efe91d34eaff5a4ab3530e47ea50385 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd85633be4068ee4b8d8f4744a4a9386 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d26bf1a8a6d42954eb332fd9957140d1 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/Protol.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0882b1dfb9d5f9e408ec017206a4946a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/Protol/common_pb.lua.bytes: -------------------------------------------------------------------------------- 1 | --Generated By protoc-gen-lua Do not Edit 2 | local protobuf = require "protobuf.protobuf" 3 | module('Protol.common_pb') 4 | 5 | HEADER = protobuf.Descriptor(); 6 | HEADER_CMD_FIELD = protobuf.FieldDescriptor(); 7 | HEADER_SEQ_FIELD = protobuf.FieldDescriptor(); 8 | 9 | HEADER_CMD_FIELD.name = "cmd" 10 | HEADER_CMD_FIELD.full_name = ".Header.cmd" 11 | HEADER_CMD_FIELD.number = 1 12 | HEADER_CMD_FIELD.index = 0 13 | HEADER_CMD_FIELD.label = 2 14 | HEADER_CMD_FIELD.has_default_value = false 15 | HEADER_CMD_FIELD.default_value = 0 16 | HEADER_CMD_FIELD.type = 5 17 | HEADER_CMD_FIELD.cpp_type = 1 18 | 19 | HEADER_SEQ_FIELD.name = "seq" 20 | HEADER_SEQ_FIELD.full_name = ".Header.seq" 21 | HEADER_SEQ_FIELD.number = 2 22 | HEADER_SEQ_FIELD.index = 1 23 | HEADER_SEQ_FIELD.label = 2 24 | HEADER_SEQ_FIELD.has_default_value = false 25 | HEADER_SEQ_FIELD.default_value = 0 26 | HEADER_SEQ_FIELD.type = 5 27 | HEADER_SEQ_FIELD.cpp_type = 1 28 | 29 | HEADER.name = "Header" 30 | HEADER.full_name = ".Header" 31 | HEADER.nested_types = {} 32 | HEADER.enum_types = {} 33 | HEADER.fields = {HEADER_CMD_FIELD, HEADER_SEQ_FIELD} 34 | HEADER.is_extendable = false 35 | HEADER.extensions = {} 36 | 37 | Header = protobuf.Message(HEADER) 38 | 39 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/Protol/common_pb.lua.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dae780f9dbb4a634bbc8605c0cd7bd13 3 | timeCreated: 1498123941 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/Protol/person_pb.lua.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a5684e0e56583c43b809876b457c953 3 | timeCreated: 1498113766 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/TestErrorStack.lua.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a540e20118516b1449b2bb6293d1030a 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/TestLoader.lua.bytes: -------------------------------------------------------------------------------- 1 | print("This is a script from a utf8 file") 2 | print("tolua: 你好! こんにちは! 안녕하세요!") 3 | 4 | function Test() 5 | print("this is lua file load by Resource.Load") 6 | end -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/TestLoader.lua.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d249a195df84a8e448b95867fdc844df 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/TestLuaCoroutine.lua.bytes: -------------------------------------------------------------------------------- 1 | function fib(n) 2 | local a, b = 0, 1 3 | while n > 0 do 4 | a, b = b, a + b 5 | n = n - 1 6 | end 7 | 8 | return a 9 | end 10 | 11 | function CoFunc() 12 | print('Coroutine started') 13 | for i = 0, 10, 1 do 14 | print(fib(i)) 15 | coroutine.wait(0.1) 16 | end 17 | print("current frameCount: "..Time.frameCount) 18 | coroutine.step() 19 | print("yield frameCount: "..Time.frameCount) 20 | 21 | local www = UnityEngine.WWW("http://www.baidu.com") 22 | coroutine.www(www) 23 | local s = tolua.tolstring(www.bytes) 24 | print(s:sub(1, 128)) 25 | print('Coroutine ended') 26 | end 27 | 28 | function TestCortinue() 29 | coroutine.start(CoFunc) 30 | end 31 | 32 | local coDelay = nil 33 | 34 | function Delay() 35 | local c = 1 36 | 37 | while true do 38 | coroutine.wait(1) 39 | print("Count: "..c) 40 | c = c + 1 41 | end 42 | end 43 | 44 | function StartDelay() 45 | coDelay = coroutine.start(Delay) 46 | end 47 | 48 | function StopDelay() 49 | coroutine.stop(coDelay) 50 | end 51 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/TestLuaCoroutine.lua.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e90f8f033d17114297577d8cde2677e 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/TestPerf.lua.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07657567fb0a4fe439b7e52f48d787e1 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/Lua/ToLuaInjectionTestInjector.lua.bytes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d4ade31977a9ce4f92428e0889cee1d 3 | timeCreated: 1536241531 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/jsonexample.json: -------------------------------------------------------------------------------- 1 | { 2 | "glossary": { 3 | "title": "example glossary", 4 | "GlossDiv": { 5 | "title": "S", 6 | "GlossList": { 7 | "GlossEntry": { 8 | "ID": "SGML", 9 | "SortAs": "SGML", 10 | "GlossTerm": "Standard Generalized Mark up Language", 11 | "Acronym": "SGML", 12 | "Abbrev": "ISO 8879:1986", 13 | "GlossDef": { 14 | "para": "A meta-markup language, used to create markup languages such as DocBook.", 15 | "GlossSeeAlso": ["GML", "XML"] 16 | }, 17 | "GlossSee": "markup" 18 | } 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/Resources/jsonexample.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d7edaf98b78bd84297bb888bf41ed02 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00b15eee8aab8d64e844fc53ee7395de 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestInstantiate.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using LuaInterface; 4 | 5 | public class TestInstantiate : MonoBehaviour 6 | { 7 | void Awake() 8 | { 9 | LuaState state = LuaState.Get(IntPtr.Zero); 10 | 11 | try 12 | { 13 | LuaFunction func = state.GetFunction("Show"); 14 | func.BeginPCall(); 15 | func.PCall(); 16 | func.EndPCall(); 17 | func.Dispose(); 18 | func = null; 19 | } 20 | catch (Exception e) 21 | { 22 | state.ThrowLuaException(e); 23 | } 24 | } 25 | 26 | void Start() 27 | { 28 | Debugger.Log("start"); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestInstantiate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3f31488b17b6394f8cc6e000f1001ab 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestInstantiate.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec8a2f7e4eaf1c64e8393014e602047c 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestInstantiate2.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using LuaInterface; 4 | 5 | public class TestInstantiate2 : MonoBehaviour 6 | { 7 | void Awake() 8 | { 9 | try 10 | { 11 | throw new Exception("Instantiate exception 2"); 12 | } 13 | catch (Exception e) 14 | { 15 | LuaState state = LuaState.Get(IntPtr.Zero); 16 | state.ThrowLuaException(e); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestInstantiate2.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 901668bc322ed714d9c7c74febc9bd8b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestInstantiate2.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e472cc047eb20841bbb7c64dfeb0d78 3 | NativeFormatImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestLuaStack.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b40a6eeee975862489a712e1a3d79ed1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestErrorStack/TestLuaStack.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 706020e5c3f37944995bfe00955fdd39 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestInjection.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38c5ccf43aa1bef4ab5def4faf0a5aba 3 | folderAsset: yes 4 | timeCreated: 1515035158 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestInjection/BaseTestWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 823570c1e66fe6e45b87a838ec075e76 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestInjection/TestInjection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f95133dba6f6a1a40936257b1a8b3dae 3 | timeCreated: 1515035194 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestInjection/TestInjection.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05dc1e98babb44f47ad2a28a88b76380 3 | timeCreated: 1515035207 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestInjection/ToLuaInjectionTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80e29c43f1cea9d4988c36fd2f6c26c1 3 | timeCreated: 1514883665 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestInjection/ToLuaInjectionTestWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 14459b5f9debe5f47b5a300b6f1acfe8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestOverload.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c47782a99562c02499fb1602381bfe8d 3 | folderAsset: yes 4 | timeCreated: 1486461631 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestOverload/TestExportWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93a993f96184f9043b307249752cde32 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestOverload/TestExport_SpaceWrap.cs: -------------------------------------------------------------------------------- 1 | //this source code was auto-generated by tolua#, do not modify it 2 | using System; 3 | using LuaInterface; 4 | 5 | public class TestExport_SpaceWrap 6 | { 7 | public static void Register(LuaState L) 8 | { 9 | L.BeginEnum(typeof(TestExport.Space)); 10 | L.RegVar("World", get_World, null); 11 | L.RegFunction("IntToEnum", IntToEnum); 12 | L.EndEnum(); 13 | TypeTraits.Check = CheckType; 14 | StackTraits.Push = Push; 15 | } 16 | 17 | static void Push(IntPtr L, TestExport.Space arg) 18 | { 19 | ToLua.Push(L, arg); 20 | } 21 | 22 | static bool CheckType(IntPtr L, int pos) 23 | { 24 | return TypeChecker.CheckEnumType(typeof(TestExport.Space), L, pos); 25 | } 26 | 27 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 28 | static int get_World(IntPtr L) 29 | { 30 | ToLua.Push(L, TestExport.Space.World); 31 | return 1; 32 | } 33 | 34 | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] 35 | static int IntToEnum(IntPtr L) 36 | { 37 | int arg0 = (int)LuaDLL.lua_tonumber(L, 1); 38 | TestExport.Space o = (TestExport.Space)arg0; 39 | ToLua.Push(L, o); 40 | return 1; 41 | } 42 | } 43 | 44 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestOverload/TestExport_SpaceWrap.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e8176bbf31cef9418a3a1aa76f1f018 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestOverload/TestOverload.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccb167912a52c2f4e9f88a1bc02d5083 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Examples/TestOverload/TestOverload.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45830782541ee7a49b44eb5a02d7ecef 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb513010fb16d5d4199be09f3c2f60c4 3 | folderAsset: yes 4 | timeCreated: 1515031211 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 408aa6da49448a544942370044596d77 3 | folderAsset: yes 4 | timeCreated: 1515031012 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/Editor/CustomCecilRocks.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c0193e665c01f54eb307adc123ddb74 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/Editor/CustomCecilRocks/MethodBodyRocks.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86b293140e547b342a6037d11e939fce 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/Editor/ToLuaInjection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 576ad269863310b4aba201ae8896a3ef 3 | timeCreated: 1512461674 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/Editor/ToLuaInjectionHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dce8c9cb062a97740b01381922e799a1 3 | timeCreated: 1513238253 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/Editor/ToLuaText.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5de9ab9717d9977429063071523fae1a 3 | timeCreated: 1513060947 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/Editor/ToluaInjectionBlackListPanel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55ebe04f71192174990387365881eac4 3 | timeCreated: 1512567263 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/InjectionBlackList.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 449a10dea407bc04ea1bbb6f9d42bbd8 3 | timeCreated: 1515037624 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/InjectionBridgeEditorInfo.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a03414dd6167d14db5ffeec44c8ebf9 3 | timeCreated: 1536240865 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/LuaInjectionSkipPaths.txt: -------------------------------------------------------------------------------- 1 | Assets/ToLua/Core/ 2 | Assets/ToLua/Injection/ 3 | Assets/ToLua/Misc/ 4 | Assets/ToLua/Reflection/ 5 | Assets/Plugins/ 6 | Assets/ToLua/BaseType/ 7 | Assets/Source/Generate/ 8 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/LuaInjectionSkipPaths.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b40d8aec6722dd489e0cf5180707926 3 | timeCreated: 1515038066 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Injection/LuaInjectionStation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50962a9cc65f2be42af0d2419c4bc074 3 | timeCreated: 1512461673 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b3be0814bb45e640973aea4f6303a33 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/Build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd /d %~dp0 3 | rd /s/q Out 4 | mkdir jit 5 | mkdir Out 6 | 7 | xcopy /Y /D ..\..\..\Luajit\jit jit 8 | setlocal enabledelayedexpansion 9 | 10 | for /r %%i in (*.lua) do ( 11 | set v=%%~dpi 12 | call :loop 13 | set v=!v:%~dp0=! 14 | if not exist %~dp0out\!v! (mkdir %~dp0Out\!v!) 15 | ) 16 | 17 | for /r %%i in (*.lua) do ( 18 | set v=%%i 19 | set v=!v:%~dp0=! 20 | call :loop 21 | ..\..\..\Luajit\luajit.exe -b -g !v! Out\!v!.bytes 22 | ) 23 | 24 | rd /s/q jit 25 | rd /s/q .\Out\jit\ 26 | xcopy /Y /D /S Out ..\..\StreamingAssets\Lua 27 | setlocal disabledelayedexpansion 28 | 29 | :loop 30 | if "!v:~-1!"==" " set "v=!v:~0,-1!" & goto loop 31 | 32 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/Build.bat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df27f3565c885a1419249346792d53b7 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c23205cbb914d9943ba97091e50d9d34 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Injection.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd35ae0a721aca5469a1dc038b2b6158 3 | folderAsset: yes 4 | timeCreated: 1515034041 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Injection/InjectionBridgeInfo.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddd0929c7e5e87a43ac765a3d62c90a7 3 | timeCreated: 1514865200 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Injection/LuaInjectionBus.lua: -------------------------------------------------------------------------------- 1 | --[[MIT License 2 | 3 | Copyright (c) 2018 Jonson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE.]]-- 22 | 23 | 24 | --Load All The Injectores 25 | --require "System.Injection.ToLuaInjectionTestInjector" -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Injection/LuaInjectionBus.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f358679c92622642a844c157ce4fece 3 | timeCreated: 1514865200 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Injection/LuaInjectionStation.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78b8ba284d726bf48803904bd5ada5c4 3 | timeCreated: 1514865423 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Reflection.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b31921aad5a29bf48b69fbad423de1be 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Reflection/BindingFlags.lua: -------------------------------------------------------------------------------- 1 | if System.Reflection == nil then 2 | System.Reflection = {} 3 | end 4 | 5 | local function GetMask(...) 6 | local arg = {...} 7 | local value = 0 8 | 9 | for i = 1, #arg do 10 | value = value + arg[i] 11 | end 12 | 13 | return value 14 | end 15 | 16 | local BindingFlags = 17 | { 18 | Default = 0, 19 | IgnoreCase = 1, 20 | DeclaredOnly = 2, 21 | Instance = 4, 22 | Static = 8, 23 | Public = 16, 24 | NonPublic = 32, 25 | FlattenHierarchy = 64, 26 | InvokeMethod = 256, 27 | CreateInstance = 512, 28 | GetField = 1024, 29 | SetField = 2048, 30 | GetProperty = 4096, 31 | SetProperty = 8192, 32 | PutDispProperty = 16384, 33 | PutRefDispProperty = 32768, 34 | ExactBinding = 65536, 35 | SuppressChangeType = 131072, 36 | OptionalParamBinding = 262144, 37 | IgnoreReturn = 16777216, 38 | } 39 | 40 | System.Reflection.BindingFlags = BindingFlags 41 | System.Reflection.BindingFlags.GetMask = GetMask 42 | 43 | return BindingFlags -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Reflection/BindingFlags.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 447334b96205b8040b534702d8d806c6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/Timer.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e891968e6d367cf4da81d8c24a52c358 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/ValueType.lua: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com 3 | -- All rights reserved. 4 | -- Use, modification and distribution are subject to the "MIT License" 5 | -------------------------------------------------------------------------------- 6 | local ValueType = {} 7 | 8 | ValueType[Vector3] = 1 9 | ValueType[Quaternion] = 2 10 | ValueType[Vector2] = 3 11 | ValueType[Color] = 4 12 | ValueType[Vector4] = 5 13 | ValueType[Ray] = 6 14 | ValueType[Bounds] = 7 15 | ValueType[Touch] = 8 16 | ValueType[LayerMask] = 9 17 | ValueType[RaycastHit] = 10 18 | ValueType[int64] = 11 19 | ValueType[uint64] = 12 20 | 21 | local function GetValueType() 22 | local getmetatable = getmetatable 23 | local ValueType = ValueType 24 | 25 | return function(udata) 26 | local meta = getmetatable(udata) 27 | 28 | if meta == nil then 29 | return 0 30 | end 31 | 32 | return ValueType[meta] or 0 33 | end 34 | end 35 | 36 | function AddValueType(table, type) 37 | ValueType[table] = type 38 | end 39 | 40 | GetLuaValueType = GetValueType() -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/ValueType.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fab9e4d6fcf702740a4c66965903ed1f 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/System/coroutine.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69692ffc56243fb4a8d655a208364fec 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec9654611f40bd64cb988c5f45494721 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Bounds.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8643f0e46fe222e48919766d7b0c7c5f 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Color.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54770d2645593c347ac25713a6d332e3 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/LayerMask.lua: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com 3 | -- All rights reserved. 4 | -- Use, modification and distribution are subject to the "MIT License" 5 | -------------------------------------------------------------------------------- 6 | local Layer = Layer 7 | local rawget = rawget 8 | local setmetatable = setmetatable 9 | 10 | local LayerMask = {} 11 | 12 | LayerMask.__index = function(t,k) 13 | return rawget(LayerMask, k) 14 | end 15 | 16 | LayerMask.__call = function(t,v) 17 | return setmetatable({value = value or 0}, LayerMask) 18 | end 19 | 20 | function LayerMask.New(value) 21 | return setmetatable({value = value or 0}, LayerMask) 22 | end 23 | 24 | function LayerMask:Get() 25 | return self.value 26 | end 27 | 28 | function LayerMask.NameToLayer(name) 29 | return Layer[name] 30 | end 31 | 32 | function LayerMask.GetMask(...) 33 | local arg = {...} 34 | local value = 0 35 | 36 | for i = 1, #arg do 37 | local n = LayerMask.NameToLayer(arg[i]) 38 | 39 | if n ~= nil then 40 | value = value + 2 ^ n 41 | end 42 | end 43 | 44 | return value 45 | end 46 | 47 | UnityEngine.LayerMask = LayerMask 48 | setmetatable(LayerMask, LayerMask) 49 | return LayerMask 50 | 51 | 52 | 53 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/LayerMask.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08700fd491ce4cf4ba55fd9832b9f9cf 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Mathf.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cfbc4fb807d4e444bd41df7de6c249e 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Plane.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3971497c90061f4d9c0e9a99b5bbcbe 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Profiler.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37c51fa1e5d7c094f8620b364c731293 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Quaternion.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc8181e6244125146a87c5b83c380a92 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Ray.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 436d981c3546acd44a03048767c0d85a 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/RaycastHit.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 707a4e1a225007d45923200abf2c9c13 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Time.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f2e1d9dee4ecaf4b8734c59f1c9f3b5 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Touch.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48ee0c1b8478eba4f9338e5ec4a14d40 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Vector2.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ebac0a3bf4e463249a78081c5cc3abcf 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Vector3.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3697c841f98720444b380cc2756c17ea 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/UnityEngine/Vector4.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e294d4af7e55084dadac8ee7a76099d 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/cjson.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51fabff50886aea4ca5100ee3396939b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/cjson/util.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6b21c50e0c10c840bb4965a6b03fdc1 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/event.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cb3ad8be0f474f4c997acf1b791b133 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b8761c25aba4304482c7fd87688285a 3 | folderAsset: yes 4 | timeCreated: 1492692752 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/bc.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f0b5eb903971c641845b50fec99cc42 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/bcsave.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c57519f5e4f846c459de1f2eaa13da69 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_arm.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ca08f899c4b9e9468fe93edcef60270 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_arm64.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4d4c9abbcac24849b38a339a3bf4529 3 | timeCreated: 1494052836 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_arm64be.lua: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------------------------- 2 | -- LuaJIT ARM64BE disassembler wrapper module. 3 | -- 4 | -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. 5 | -- Released under the MIT license. See Copyright Notice in luajit.h 6 | ---------------------------------------------------------------------------- 7 | -- ARM64 instructions are always little-endian. So just forward to the 8 | -- common ARM64 disassembler module. All the interesting stuff is there. 9 | ------------------------------------------------------------------------------ 10 | 11 | return require((string.match(..., ".*%.") or "").."dis_arm64") 12 | 13 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_arm64be.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9743f232842733e4c9e3b478b8adbffd 3 | timeCreated: 1494052836 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_mips.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24d7d1c35dd3f7b4e8b37409571d4a8d 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_mips64.lua: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------------------------- 2 | -- LuaJIT MIPS64 disassembler wrapper module. 3 | -- 4 | -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. 5 | -- Released under the MIT license. See Copyright Notice in luajit.h 6 | ---------------------------------------------------------------------------- 7 | -- This module just exports the big-endian functions from the 8 | -- MIPS disassembler module. All the interesting stuff is there. 9 | ------------------------------------------------------------------------------ 10 | 11 | local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips") 12 | return { 13 | create = dis_mips.create, 14 | disass = dis_mips.disass, 15 | regname = dis_mips.regname 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_mips64.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45cd531eacd4e694585cb017ffc7df14 3 | timeCreated: 1494052836 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_mips64el.lua: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------------------------- 2 | -- LuaJIT MIPS64EL disassembler wrapper module. 3 | -- 4 | -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. 5 | -- Released under the MIT license. See Copyright Notice in luajit.h 6 | ---------------------------------------------------------------------------- 7 | -- This module just exports the little-endian functions from the 8 | -- MIPS disassembler module. All the interesting stuff is there. 9 | ------------------------------------------------------------------------------ 10 | 11 | local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips") 12 | return { 13 | create = dis_mips.create_el, 14 | disass = dis_mips.disass_el, 15 | regname = dis_mips.regname 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_mips64el.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c933838018073f44d8b9cb738c3ef6f8 3 | timeCreated: 1494052836 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_mipsel.lua: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------------------------- 2 | -- LuaJIT MIPSEL disassembler wrapper module. 3 | -- 4 | -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. 5 | -- Released under the MIT license. See Copyright Notice in luajit.h 6 | ---------------------------------------------------------------------------- 7 | -- This module just exports the little-endian functions from the 8 | -- MIPS disassembler module. All the interesting stuff is there. 9 | ------------------------------------------------------------------------------ 10 | 11 | local dis_mips = require((string.match(..., ".*%.") or "").."dis_mips") 12 | return { 13 | create = dis_mips.create_el, 14 | disass = dis_mips.disass_el, 15 | regname = dis_mips.regname 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_mipsel.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b8e829ec84bb8e4f8b56474c9812d02 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_ppc.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1231975d3fb5f1b4995c9112ea3537f4 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_x64.lua: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------------------------- 2 | -- LuaJIT x64 disassembler wrapper module. 3 | -- 4 | -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. 5 | -- Released under the MIT license. See Copyright Notice in luajit.h 6 | ---------------------------------------------------------------------------- 7 | -- This module just exports the 64 bit functions from the combined 8 | -- x86/x64 disassembler module. All the interesting stuff is there. 9 | ------------------------------------------------------------------------------ 10 | 11 | local dis_x86 = require((string.match(..., ".*%.") or "").."dis_x86") 12 | return { 13 | create = dis_x86.create64, 14 | disass = dis_x86.disass64, 15 | regname = dis_x86.regname64 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_x64.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9997149317d8a6458002e31b320c212 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dis_x86.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3244c54564aeae24daa6a81b810b9d3f 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/dump.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d03e3137c36cc2468b3fbc7d489f17e 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/p.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 413d3a4d59c39ea48b62dbb8f1b361c3 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/v.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e83d256a881de8f4ab20afb40ff611f7 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/zone.lua: -------------------------------------------------------------------------------- 1 | ---------------------------------------------------------------------------- 2 | -- LuaJIT profiler zones. 3 | -- 4 | -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. 5 | -- Released under the MIT license. See Copyright Notice in luajit.h 6 | ---------------------------------------------------------------------------- 7 | -- 8 | -- This module implements a simple hierarchical zone model. 9 | -- 10 | -- Example usage: 11 | -- 12 | -- local zone = require("jit.zone") 13 | -- zone("AI") 14 | -- ... 15 | -- zone("A*") 16 | -- ... 17 | -- print(zone:get()) --> "A*" 18 | -- ... 19 | -- zone() 20 | -- ... 21 | -- print(zone:get()) --> "AI" 22 | -- ... 23 | -- zone() 24 | -- 25 | ---------------------------------------------------------------------------- 26 | 27 | local remove = table.remove 28 | 29 | return setmetatable({ 30 | flush = function(t) 31 | for i=#t,1,-1 do t[i] = nil end 32 | end, 33 | get = function(t) 34 | return t[#t] 35 | end 36 | }, { 37 | __call = function(t, zone) 38 | if zone then 39 | t[#t+1] = zone 40 | else 41 | return (assert(remove(t), "empty zone stack")) 42 | end 43 | end 44 | }) 45 | 46 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/jit/zone.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af44e752354375746813d50c6d26b867 3 | timeCreated: 1492692752 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/list.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0d0ca55b7df3414aafaf11a39c13378 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/lpeg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58143f62c40fa4143903b5b1abc707fe 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/lpeg/re.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7e8b1ba4c06a4d4db879ad831cb62f1 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/ltn12.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f6ae256ba8bd244692e687b1b0ece95 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/mime.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78de065ed4e50984eba196a41070d017 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/misc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08e54c61aaaa7c545b03c37c12e41df1 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/misc/functions.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ad071edc48d0d8469028957a2df9c67 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/misc/strict.lua: -------------------------------------------------------------------------------- 1 | -- 2 | -- strict.lua 3 | -- checks uses of undeclared global variables 4 | -- All global variables must be 'declared' through a regular assignment 5 | -- (even assigning nil will do) in a main chunk before being used 6 | -- anywhere or assigned to inside a function. 7 | -- 8 | -- modified for better compatibility with LuaJIT, see: 9 | -- http://www.freelists.org/post/luajit/strictlua-with-stripped-bytecode 10 | 11 | local getinfo, error, rawset, rawget = debug.getinfo, error, rawset, rawget 12 | 13 | local mt = getmetatable(_G) 14 | if mt == nil then 15 | mt = {} 16 | setmetatable(_G, mt) 17 | end 18 | 19 | mt.__declared = {} 20 | 21 | mt.__newindex = function (t, n, v) 22 | if not mt.__declared[n] then 23 | local info = getinfo(2, "S") 24 | if info and info.linedefined > 0 then 25 | error("assign to undeclared variable '"..n.."'", 2) 26 | end 27 | mt.__declared[n] = true 28 | end 29 | rawset(t, n, v) 30 | end 31 | 32 | mt.__index = function (t, n) 33 | if not mt.__declared[n] then 34 | local info = getinfo(2, "S") 35 | if info and info.linedefined > 0 then 36 | error("variable '"..n.."' is not declared", 2) 37 | end 38 | end 39 | return rawget(t, n) 40 | end 41 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/misc/strict.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4df6e3671aafc8e4d82fee6a2cf5948e 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/misc/utf8.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7ac60fc5e653564588e60deb91863ee 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 588f81265fa730e41a5371957a46eb61 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/containers.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b091e6d28e2ea5b469fa0ef87c372f3a 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/decoder.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99e0d332d92e1c44ca56267a2b3bdcf9 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/descriptor.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec5270fc0e79e1140be77c303c4874c4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/encoder.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59c27d5459f0dfc4ab1077ce6f391ea9 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/listener.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7778f4f6aeddbee43984c5da8cc06953 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/protobuf.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afc64cedbe4a843499e187d95d272f06 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/text_format.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 11ebbcbb210e532448bcc1440a557d8f 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/type_checkers.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38d553dac9a25c84c9c7d74608783a1b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/protobuf/wire_format.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02ba9c90e50e89e4da2ee869851300a0 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/slot.lua: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com 3 | -- All rights reserved. 4 | -- Use, modification and distribution are subject to the "MIT License" 5 | -------------------------------------------------------------------------------- 6 | local setmetatable = setmetatable 7 | 8 | local _slot = {} 9 | setmetatable(_slot, _slot) 10 | 11 | _slot.__call = function(self, ...) 12 | if nil == self.obj then 13 | return self.func(...) 14 | else 15 | return self.func(self.obj, ...) 16 | end 17 | end 18 | 19 | _slot.__eq = function (lhs, rhs) 20 | return lhs.func == rhs.func and lhs.obj == rhs.obj 21 | end 22 | 23 | --可用于 Timer 定时器回调函数. 例如Timer.New(slot(self.func, self)) 24 | function slot(func, obj) 25 | return setmetatable({func = func, obj = obj}, _slot) 26 | end -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/slot.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5040eeedfb5e1bf4b8a5294bba19ca0b 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63c3bb6af007b6344af9a86ef0b7e225 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d809aad390df7d54a95d719367731993 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket/ftp.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d703a862f37cfb42a2937b6f2cc9df6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket/headers.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62876db61c32bf6499db08ea59ccff1f 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket/http.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 209e83764932d974287e82cda5febaf7 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket/mbox.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b179323d673f3f04996fc0b22c0817bb 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket/smtp.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5fb16f8ece254ef4d9c196242b49a8ae 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket/tp.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f81b525c8aa6ab6408db2989c91556cc 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/socket/url.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f52d8d21085d51c42b5e27aca557bcd9 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/tolua.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dab8762e884a1c469dd11f6d2044a0f 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/typeof.lua: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- 2 | -- Copyright (c) 2015 - 2016 , 蒙占志(topameng) topameng@gmail.com 3 | -- All rights reserved. 4 | -- Use, modification and distribution are subject to the "MIT License" 5 | -------------------------------------------------------------------------------- 6 | local type = type 7 | local types = {} 8 | local _typeof = tolua.typeof 9 | local _findtype = tolua.findtype 10 | 11 | function typeof(obj) 12 | local t = type(obj) 13 | local ret = nil 14 | 15 | if t == "table" then 16 | ret = types[obj] 17 | 18 | if ret == nil then 19 | ret = _typeof(obj) 20 | types[obj] = ret 21 | end 22 | elseif t == "string" then 23 | ret = types[obj] 24 | 25 | if ret == nil then 26 | ret = _findtype(obj) 27 | types[obj] = ret 28 | end 29 | else 30 | error(debug.traceback("attemp to call typeof on type "..t)) 31 | end 32 | 33 | return ret 34 | end -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Lua/typeof.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7edd4f2975d3f54f8396b61d8b34944 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Misc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4ec2002202db97649bcdffe1705c0bdc 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Misc/LuaClient.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d41d4486c02e3e4ca1c1f12f7a48a95 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Misc/LuaCoroutine.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61c0f3aff91dfbd4097181bfb8c99d7f 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Misc/LuaLooper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d56dbfed903b80e498bb872845c17e7e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: -10 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Misc/LuaProfiler.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | #if UNITY_5_5_OR_NEWER 4 | using UnityEngine.Profiling; 5 | #endif 6 | 7 | public static class LuaProfiler 8 | { 9 | public static List list = new List(); 10 | 11 | public static void Clear() 12 | { 13 | list.Clear(); 14 | } 15 | 16 | public static int GetID(string name) 17 | { 18 | int id = list.Count; 19 | list.Add(name); 20 | return id; 21 | } 22 | 23 | public static void BeginSample(int id) 24 | { 25 | string name = list[id]; 26 | Profiler.BeginSample(name); 27 | } 28 | 29 | public static void EndSample() 30 | { 31 | Profiler.EndSample(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Misc/LuaProfiler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 29c635f2321c2dc48aea28e8e6accb7e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Misc/LuaResLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61b6ccc77a2cfc341963b08eb6cb4dfc 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Reflection.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcd2662a23826114e86e7828b55342b7 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Reflection/LuaConstructor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f277531b56c0944fb5d9af67defed02 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Reflection/LuaField.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac0dd1f9fec2afa4e96fc2f583688c5a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Reflection/LuaMethod.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e50f0b4cc54866649975adb5d9801a3d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Reflection/LuaProperty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26952c90fb22bda4dbe945f2fa2224ff 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/Reflection/LuaReflection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3faee4f867484814bb3f76d4a798219d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/ToLua/ToLua/readme.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c85b2c9de573bc54881ca0c2427016cd 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/ToLua/link.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Assets/ToLua/link.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8d0eb461ac328347a86a1727144872e 3 | timeCreated: 1498812386 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_Project.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26468b451fe232242bed3b14d46d1ad8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_Project/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc987c37b0f18f46806ba99d32baea1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_Project/Scenes/Test.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bca20ab405f41124490a3fe8884b9f73 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1dd9ea06d4505c4daecb9b8b808e319 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 979897dc1170e094d868a30172f46b72 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Lua/Main.lua: -------------------------------------------------------------------------------- 1 | --主入口函数。从这里开始lua逻辑 2 | function Main() 3 | GameObject = UnityEngine.GameObject 4 | Transform = UnityEngine.Transform 5 | ParticleSystem = UnityEngine.ParticleSystem 6 | Color = UnityEngine.Color 7 | SceneManagement = UnityEngine.SceneManagement 8 | Input = UnityEngine.Input 9 | KeyCode = UnityEngine.KeyCode 10 | Time = UnityEngine.Time 11 | Camera = UnityEngine.Camera 12 | AudioSource = UnityEngine.AudioSource 13 | Resources = UnityEngine.Resources 14 | www = UnityEngine.WWW 15 | print("logic start") 16 | end 17 | 18 | --场景切换通知 19 | function OnLevelWasLoaded(level) 20 | collectgarbage("collect") 21 | Time.timeSinceLevelLoad = 0 22 | end 23 | 24 | function OnApplicationQuit() 25 | end 26 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Lua/Main.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 091b02c3490daac4f8ed8cd5b62090b1 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Lua/Test.lua: -------------------------------------------------------------------------------- 1 | -- ======================================================================== 2 | -- $File: Test.lua $ 3 | -- $Date: 2020-03-24 15:42:27 $ 4 | -- $Revision: $ 5 | -- $Creator: Jen-Chieh Shen $ 6 | -- $Notice: See LICENSE.txt for modification and distribution information 7 | -- Copyright © 2020 by Shen, Jen-Chieh $ 8 | -- ======================================================================== 9 | 10 | Test = {} 11 | local this = Test 12 | 13 | ---------------------------------------------------------------- 14 | -- Use this for initialization. 15 | ---------------------------------------------------------------- 16 | function this.Start() 17 | print("Start function from `Test.lua` file!") 18 | end 19 | 20 | ---------------------------------------------------------------- 21 | -- Update is called once per frame. 22 | ---------------------------------------------------------------- 23 | -- @param { MonoBehaviour } mb : MonoBehaviour component 24 | -- represent as game object. 25 | ---------------------------------------------------------------- 26 | function this.Update(mb) 27 | -- Test input module in Lua. 28 | if Input.GetKeyDown(KeyCode.A) then 29 | print("Key pressed! from `Test.lua` file!") 30 | end 31 | end 32 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Lua/Test.lua.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 600fbe1477233df4ea6329061904ffb1 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Managers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f68429cd1a8ac334daf8274eff364d8f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Managers/LuaManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4bf1d146bc58fc4eb1fd7b3422f5259 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Test.cs: -------------------------------------------------------------------------------- 1 | /** 2 | * $File: Test.cs $ 3 | * $Date: 2020-03-24 15:46:23 $ 4 | * $Revision: $ 5 | * $Creator: Jen-Chieh Shen $ 6 | * $Notice: See LICENSE.txt for modification and distribution information 7 | * Copyright © 2020 by Shen, Jen-Chieh $ 8 | */ 9 | using System.Collections; 10 | using System.Collections.Generic; 11 | using UnityEngine; 12 | 13 | /// 14 | /// Test script, mainly test for Lua script. 15 | /// 16 | public class Test : MonoBehaviour 17 | { 18 | /* Variables */ 19 | 20 | /* Setter & Getter */ 21 | 22 | /* Functions */ 23 | 24 | private void Start() 25 | { 26 | LuaManager.instance.CallFunc("Test.lua", "Test.Start", this); 27 | } 28 | 29 | private void Update() 30 | { 31 | LuaManager.instance.CallFunc("Test.lua", "Test.Update", this); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Assets/_Project/Scripts/Test.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: addfe882d4ec7ed4791f9a60cd8f319a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | All notable changes to this project will be documented in this file. 4 | 5 | Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. 6 | 7 | 8 | ### 2021-03-05 9 | 10 | * Update project's Unity Engine version to 2020.1.2f1. 11 | 12 | ### 2020-03-24 13 | 14 | * Added [UnityPackageExporter](https://github.com/jcs090218/UnityPackageExporter) for package exporting management. 15 | * Added example for calling lua function from C#. 16 | * Imported the newest version of `tolua`. 17 | * First release. 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020-2022 Jen-Chieh Shen 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 19 | SOFTWARE. 20 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 9 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 1 30 | m_AssetPipelineMode: 1 31 | m_CacheServerMode: 0 32 | m_CacheServerEndpoint: 33 | m_CacheServerNamespacePrefix: default 34 | m_CacheServerEnableDownload: 1 35 | m_CacheServerEnableUpload: 1 36 | -------------------------------------------------------------------------------- /ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /ProjectSettings/MultiplayerManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!655991488 &1 4 | MultiplayerManager: 5 | m_ObjectHideFlags: 0 6 | m_EnableMultiplayerRoles: 0 7 | m_StrippingTypes: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 0 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_UserSelectedRegistryName: 29 | m_UserAddingNewScopedRegistry: 0 30 | m_RegistryInfoDraft: 31 | m_ErrorMessage: 32 | m_Original: 33 | m_Id: 34 | m_Name: 35 | m_Url: 36 | m_Scopes: [] 37 | m_IsDefault: 0 38 | m_Capabilities: 0 39 | m_Modified: 0 40 | m_Name: 41 | m_Url: 42 | m_Scopes: 43 | - 44 | m_SelectedScopeIndex: 0 45 | m_LoadAssets: 0 46 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 6000.0.11f1 2 | m_EditorVersionWithRevision: 6000.0.11f1 (fa01dd6b76d5) 3 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /UserSettings/EditorUserSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!162 &1 4 | EditorUserSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_ConfigSettings: 8 | lightmappingBakingProfile: 9 | value: 51 10 | flags: 0 11 | lightmappingDeviceAndPlatform: 12 | value: 53 13 | flags: 0 14 | vcSharedLogLevel: 15 | value: 0d5e400f0650 16 | flags: 0 17 | m_VCAutomaticAdd: 1 18 | m_VCDebugCom: 0 19 | m_VCDebugCmd: 0 20 | m_VCDebugOut: 0 21 | m_SemanticMergeMode: 2 22 | m_DesiredImportWorkerCount: 6 23 | m_StandbyImportWorkerCount: 2 24 | m_IdleImportWorkerShutdownDelay: 60000 25 | m_VCShowFailedCheckout: 1 26 | m_VCOverwriteFailedCheckoutAssets: 1 27 | m_VCProjectOverlayIcons: 1 28 | m_VCHierarchyOverlayIcons: 1 29 | m_VCOtherOverlayIcons: 1 30 | m_VCAllowAsyncUpdate: 0 31 | m_VCScanLocalPackagesOnConnect: 1 32 | m_ArtifactGarbageCollection: 1 33 | m_CompressAssetsOnImport: 1 34 | -------------------------------------------------------------------------------- /UserSettings/Search.index: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Assets", 3 | "roots": ["Assets"], 4 | "includes": [], 5 | "excludes": ["Temp/", "External/"], 6 | "options": { 7 | "types": true, 8 | "properties": false, 9 | "extended": false, 10 | "dependencies": false 11 | }, 12 | "baseScore": 999 13 | } -------------------------------------------------------------------------------- /UserSettings/Search.settings: -------------------------------------------------------------------------------- 1 | trackSelection = true 2 | fetchPreview = true 3 | wantsMore = false 4 | keepOpen = false 5 | queryFolder = "Assets" 6 | onBoardingDoNotAskAgain = true 7 | showPackageIndexes = false 8 | showStatusBar = false 9 | scopes = { 10 | } 11 | providers = { 12 | asset = { 13 | active = true 14 | priority = 25 15 | defaultAction = null 16 | } 17 | store = { 18 | active = true 19 | priority = 100 20 | defaultAction = null 21 | } 22 | find = { 23 | active = true 24 | priority = 25 25 | defaultAction = null 26 | } 27 | log = { 28 | active = false 29 | priority = 210 30 | defaultAction = null 31 | } 32 | packages = { 33 | active = true 34 | priority = 90 35 | defaultAction = null 36 | } 37 | scene = { 38 | active = true 39 | priority = 50 40 | defaultAction = null 41 | } 42 | query = { 43 | active = true 44 | priority = 100 45 | defaultAction = null 46 | } 47 | } 48 | recentSearches = [ 49 | ] 50 | searchItemFavorites = [ 51 | ] 52 | savedSearchesSortOrder = 0 53 | showSavedSearchPanel = false --------------------------------------------------------------------------------