Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Library/
Temp/
obj/
Assets/LuaFramework/ToLua/Source/Generate/
.vs/MyLuaFramework_UGUI/v15/Server/sqlite3/storage.ide-wal
.vs/MyLuaFramework_UGUI/v15/Server/sqlite3/storage.ide-shm
.vs/MyLuaFramework_UGUI/v15/Server/sqlite3/storage.ide
.vs/MyLuaFramework_UGUI/v15/Server/sqlite3/db.lock
.vs/MyLuaFramework_UGUI/v15/.suo
Logs/Packages-Update.log
Assembly-CSharp.csproj
Assembly-CSharp-Editor.csproj
MyLuaFramework_UGUI.sln
Assets/StreamingAssets/
10 changes: 5 additions & 5 deletions Assets/LuaFramework/Editor/CustomSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static class CustomSettings
_GT(typeof(Component)),
_GT(typeof(Transform)),
_GT(typeof(Material)),
_GT(typeof(Light)),
//_GT(typeof(Light)),
_GT(typeof(Rigidbody)),
_GT(typeof(Camera)),
_GT(typeof(AudioSource)),
Expand All @@ -113,7 +113,7 @@ public static class CustomSettings
_GT(typeof(CameraClearFlags)),
_GT(typeof(AudioClip)),
_GT(typeof(AssetBundle)),
_GT(typeof(ParticleSystem)),
//_GT(typeof(ParticleSystem)),
_GT(typeof(AsyncOperation)).SetBaseType(typeof(System.Object)),
_GT(typeof(LightType)),
_GT(typeof(SleepTimeout)),
Expand Down Expand Up @@ -148,9 +148,9 @@ public static class CustomSettings
_GT(typeof(PlayMode)),
_GT(typeof(WrapMode)),

_GT(typeof(QualitySettings)),
//_GT(typeof(QualitySettings)),
_GT(typeof(RenderSettings)),
_GT(typeof(BlendWeights)),
_GT(typeof(SkinWeights)),
_GT(typeof(RenderTexture)),
_GT(typeof(Resources)),
_GT(typeof(LuaProfiler)),
Expand Down Expand Up @@ -194,7 +194,7 @@ public static class CustomSettings
typeof(AnimationClip),
typeof(AnimationState),

typeof(BlendWeights),
typeof(SkinWeights),
typeof(RenderTexture),
typeof(Rigidbody),
};
Expand Down
2 changes: 1 addition & 1 deletion Assets/LuaFramework/Editor/Packager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void BuildiPhoneResource() {
#if UNITY_5
target = BuildTarget.iOS;
#else
target = BuildTarget.iPhone;
target = BuildTarget.iOS;
#endif
BuildAssetResource(target);
}
Expand Down
2 changes: 1 addition & 1 deletion Assets/LuaFramework/Scripts/Common/LuaLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void AddBundle(string bundleName) {
string url = Util.DataPath + bundleName.ToLower();
if (File.Exists(url)) {
var bytes = File.ReadAllBytes(url);
AssetBundle bundle = AssetBundle.CreateFromMemoryImmediate(bytes);
AssetBundle bundle = AssetBundle.LoadFromMemory(bytes);
if (bundle != null)
{
bundleName = bundleName.Replace("lua/", "").Replace(".unity3d", "");
Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 5.0.0f4
m_StandardAssetsVersion: 0
m_EditorVersion: 2019.1.2f1
m_EditorVersionWithRevision: 2019.1.2f1 (3e18427e571f)