https://github.com/chaolunner/xLuaFramework
A framework allows you to do whatever you want with Lua.
https://github.com/chaolunner/xLuaFramework
framework unity vscode xlua
Last synced: 10 months ago
JSON representation
A framework allows you to do whatever you want with Lua.
- Host: GitHub
- URL: https://github.com/chaolunner/xLuaFramework
- Owner: chaolunner
- Created: 2019-06-19T04:21:57.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-27T02:08:25.000Z (over 5 years ago)
- Last Synced: 2024-11-10T20:38:18.488Z (about 1 year ago)
- Topics: framework, unity, vscode, xlua
- Language: C#
- Size: 988 KB
- Stars: 12
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xLuaFramework
Created by chaolun
Requirements
---
- [xLua](https://github.com/Tencent/xLua)
- [UnityFramework](https://github.com/chaolunner/UnityFramework)
- Addressable `"com.unity.addressables": "1.1.4-preview"`
How to Start
---
- Download [Visual Studio Code](https://code.visualstudio.com/)
- Ignore unity files and add support for **.lua.txt** format

Click `Edit in settings.json`.

Add the following JSON to your workspace settings.
```
{
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.meta": true,
"**/*.*.meta": true,
"**/*.unity": true,
"**/*.unityproj": true,
"**/*.mat": true,
"**/*.fbx": true,
"**/*.FBX": true,
"**/*.tga": true,
"**/*.cubemap": true,
"**/*.prefab": true,
"**/Library": true,
"**/ProjectSettings": true,
"**/Temp": true
},
"files.associations": {
"*.lua.bytes": "lua",
"*.lua.txt": "lua"
}
}
```

- Install Lua plugin (choose one)
- Install [EmmyLua](https://github.com/EmmyLua/IntelliJ-EmmyLua) (free)。

- Install [luaide](https://github.com/k0204/LuaIde) (vscode extensions - paid, github - free)

Reference
---
- [Unity Development with VS Code](https://code.visualstudio.com/docs/other/unity)
VS Code documents about Unity.
- [xLuaFramework/wiki](https://github.com/chaolunner/xLuaFramework/wiki)
xLuaFramework documents.
- [Unity Asset Bundle Browser tool](https://docs.unity3d.com/Manual/AssetBundles-Browser.html) (Deprecated can be replaced by Addressable Asset System after Unity2018.2+)
Editor tool for viewing and debugging asset bundle contents before and after builds.
- [Addressable Asset System](https://docs.unity3d.com/Packages/com.unity.addressables@1.1/manual/index.html)
The Addressable Asset System provides an easy way to load assets by “address”. It handles asset management overhead by simplifying content pack creation and deployment.