MVVM Framework for Unity3D(C# & XLua)
LoxodonFramework is a lightweight MVVM(Model-View-ViewModel) framework built specifically to target Unity3D.
Databinding and localization are supported.It has a very flexible extensibility.It makes your game development faster and easier.
For tutorials,examples and support,please see the project.You can also discuss the project in the Unity Forums.
The plugin is compatible with MacOSX,Windows,Linux,UWP,IOS and Android,and provides all the source code of the project.
If you like this framework or think it is useful, please write a review on AssetStore or give me a STAR or FORK it on Github, thank you!
Check out the source code from github
Document
Tested in Unity 3D on the following platforms:
PC/Mac/Linux
Android
IOS
UWP(Windows 10)
Notes:
- Supports .Net2.0 and .Net2.0 Subset
- Supports Mono and IL2CPP
- If your Unity version is not less than 2018.4.2, it is recommended to use Loxodon.Framework 2.0
Key features:
- Mvvm Framework;
- Multiple platforms;
- Higher Extensibility;
- XLua support(You can make your game in lua.);
- Asynchronous result and asynchronous task are supported;
- Scheduled Executor and Multi-threading;
- Messaging system support;
- Preferences can be encrypted;
- Localization support;
- Databinding support:
- Field binding;
- Property binding;
- Dictionary,list and array binding;
- Event binding;
- Unity3d's EventBase binding;
- Static property and field binding;
- Method binding;
- Command binding;
- ObservableProperty,ObservableDictionary and ObservableList binding;
- Expression binding;
Quick start of Loxodon.Framework.XLua:
- You can download the latest version of xlua from Xlua's Github repository,the file name is usually xlua_v2.x.xx.zip, unzip and copy it to your project.(XLua Download)
- Configure a macro definition called "XLUA" in PlayerSetting/Scripting Defin Symbols.It is recommended to configure all platforms.
- Find Loxodon.Framework.XLua.unitypackage in the LoxodonFramework/Docs/XLua directory and import it into the project.
- Please see the example in the LoxodonFramework/Lua/Examples directory to enjoy your lua tour.
Plugins:(Loxodon.Framework 2.0)
- Loxodon Framework XLua
- Loxodon Framework Bundle
- Loxodon Framework Connection
- Loxodon Framework Log4Net
- Loxodon Framework Obfuscation
- Loxodon Framework Localization For CSV
- Loxodon Framework Addressable
- Loxodon Framework FairyGUI
- Loxodon Framework UIToolkit
- Loxodon Framework Fody
- Loxodon Framework ILRuntime
- DoNetty for Unity
Forum Thread
For More Information Contact Us at: yangpc.china@gmail.com