Skip to content

Commit

Permalink
微小的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yomunsam committed Jul 16, 2019
1 parent 9e1be60 commit 992c409
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
12 changes: 6 additions & 6 deletions Assets/TinaX/Core/System/Lua/Editor/LuaBuildConst.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ public static List<Type> LuaCallCSharpNestedTypes

#region 第三方依赖

//thirdParty
////thirdParty

typeof(SuperScrollView.LoopListView2),
typeof(SuperScrollView.LoopListViewItem2),
//typeof(SuperScrollView.LoopListView2),
//typeof(SuperScrollView.LoopListViewItem2),


//Unirx
Expand All @@ -145,9 +145,9 @@ public static List<Type> LuaCallCSharpNestedTypes
typeof(Action<Collision>),
typeof(Action<UnityEngine.Object>),

//thirdparty
typeof(System.Func<SuperScrollView.LoopListView2, int, SuperScrollView.LoopListViewItem2>),
typeof(Action<SuperScrollView.LoopListViewItem2,object>),
////thirdparty
//typeof(System.Func<SuperScrollView.LoopListView2, int, SuperScrollView.LoopListViewItem2>),
//typeof(Action<SuperScrollView.LoopListViewItem2,object>),

};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace TinaX.Lua.ProjectSetting
{
static class PSLuaConfig
{

#if TinaX_CA_LuaRuntime_Enable
private static Lua.LuaConfig mConfig;
private static SerializedObject mSer_Config;

Expand All @@ -22,7 +22,7 @@ static class PSLuaConfig
private static SerializedProperty mConf_Debug_LuaPerfact_Enable; //LuaPerfact enable
private static SerializedProperty mConf_Debug_LuaPerfact_Addr; //
private static SerializedProperty mConf_Debug_LuaPerfact_Port; //
#endif


[SettingsProvider]
Expand All @@ -33,7 +33,7 @@ public static SettingsProvider Projects_VFS()
label = "Lua Script",
activateHandler = (searchContext, rootElement) =>
{
#if TinaX_CA_LuaRuntime_Enable
mTitle.normal.textColor = TinaX.Core.XEditorStyleDefine.Color_Blue;
mTitle.fontSize = 15;
Expand All @@ -60,13 +60,14 @@ public static SettingsProvider Projects_VFS()
}
}
#endif
},
guiHandler = (searchContext) =>
{
#if !TinaX_CA_LuaRuntime_Enable
GUILayout.Label("您似乎未启用TinaX Framework的 Lua 功能,请先在宏定义设置中启用.");
#endif
#else
if (mSer_Config != null && mConfig != null)
{
EditorGUILayout.BeginVertical(GUILayout.MaxWidth(500));
Expand Down Expand Up @@ -116,7 +117,7 @@ public static SettingsProvider Projects_VFS()
mSer_Config.ApplyModifiedProperties();
}
#endif
},
deactivateHandler = () =>
{
Expand Down

0 comments on commit 992c409

Please sign in to comment.