Skip to content

Commit a90e8e7

Browse files
committed
移除了某些报错
1 parent c692cab commit a90e8e7

File tree

5 files changed

+52
-19
lines changed

5 files changed

+52
-19
lines changed

Assets/Script/Core/Application/ApplicationManager.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,6 @@ public void AppLaunch()
173173

174174
void OnApplicationQuit()
175175
{
176-
Debug.Log("ApplicationManager OnApplicationQuit ");
177-
178176
if (s_OnApplicationQuit != null)
179177
{
180178
try

Assets/Script/Core/Lua/ToLua/Plugins/iOS/libtolua.a.meta

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Script/Core/SDKManager/SDKInterfaceDefine.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,6 @@ public class SDKInterfaceDefine
113113
public const string PropertiesKey_StoreName = "StoreName"; //商店名称
114114
public const string PropertiesKey_LoginPlatform = "LoginPlatform"; //登录平台
115115
public const string PropertiesKey_NetworkID = "NetworkID"; //服务器选择
116+
public const string PropertiesKey_QQGroup = "QQGroup"; //服务器选择
116117
}
117118
}

Assets/Script/GameStatus/LuaTestStstus.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using UnityEngine;
22
using System.Collections;
33

4+
#if USE_LUA
5+
46
public class LuaTestStstus : IApplicationStatus
57
{
68

@@ -10,3 +12,5 @@ public override void OnEnterStatus()
1012
LuaManager.LaunchLua();
1113
}
1214
}
15+
16+
#endif

Assets/Script/UI/Editor/Lua/LuaExportList.cs

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#if USE_LUA
2+
13
using LuaInterface;
24
using UnityEditor;
35
using System;
@@ -17,7 +19,7 @@ public class LuaExportList
1719
{
1820
_GT(typeof(Debugger)).SetNameSpace(null),
1921

20-
#region Base
22+
#region Base
2123
_GT(typeof(UnityEngine.Object)),
2224
_GT(typeof(GameObject)),
2325
_GT(typeof(Transform)),
@@ -29,9 +31,9 @@ public class LuaExportList
2931
_GT(typeof(Vector4)),
3032
_GT(typeof(Vector2)),
3133
_GT(typeof(Color)),
32-
#endregion
34+
#endregion
3335

34-
#region UGUI
36+
#region UGUI
3537
_GT(typeof(Selectable)),
3638
_GT(typeof(UIBehaviour)),
3739
_GT(typeof(Graphic)),
@@ -45,20 +47,20 @@ public class LuaExportList
4547
_GT(typeof(ScrollRectInput)),
4648
_GT(typeof(ReusingScrollRect)),
4749

48-
#endregion
50+
#endregion
4951

50-
#region Framework
52+
#region Framework
5153

52-
#region AnimSystem
54+
#region AnimSystem
5355

5456
_GT(typeof(InterpType)),
5557
_GT(typeof(RepeatType)),
5658
_GT(typeof(AnimData)),
5759
_GT(typeof(AnimSystem)),
5860

59-
#endregion
61+
#endregion
6062

61-
#region UI
63+
#region UI
6264

6365
_GT(typeof(UIBase)),
6466
_GT(typeof(UIWindowBase)),
@@ -67,9 +69,9 @@ public class LuaExportList
6769
_GT(typeof(UISystemEvent)),
6870
_GT(typeof(UIEvent)),
6971

70-
#endregion
72+
#endregion
7173

72-
#region Data
74+
#region Data
7375

7476
_GT(typeof(List<string>)),
7577
_GT(typeof(Dictionary<string,object>)),
@@ -85,9 +87,9 @@ public class LuaExportList
8587
_GT(typeof(RecordManager)),
8688
_GT(typeof(AudioPlayManager)),
8789

88-
#endregion
90+
#endregion
8991

90-
#region Input
92+
#region Input
9193

9294
_GT(typeof(IInputEventBase)),
9395
_GT(typeof(InputUIEventType)),
@@ -102,23 +104,23 @@ public class LuaExportList
102104
_GT(typeof(InputManager)),
103105
_GT(typeof(NetworkManager)),
104106

105-
#endregion
107+
#endregion
106108

107109
//_GT(typeof(HeapObjectPool)),
108110
//_GT(typeof(ResourceManager)),
109111
//_GT(typeof(ApplicationManager)),
110112
//_GT(typeof(ApplicationStatusManager)),
111113
_GT(typeof(GameObjectManager)),
112114

113-
#endregion
115+
#endregion
114116

115-
#region Custom
117+
#region Custom
116118
//要导出的C#类文件请放在这里
117119
//格式: _GT(typeof(类名)),
118120

119-
#endregion
121+
#endregion
120122

121-
#region Note
123+
#region Note
122124
//这里是注释
123125

124126

@@ -226,3 +228,5 @@ public static DelegateType _DT(Type t)
226228
return new DelegateType(t);
227229
}
228230
}
231+
232+
#endif

0 commit comments

Comments
 (0)