补全缺失的预编译块
This commit is contained in:
+2
-3
@@ -48,9 +48,7 @@ namespace XericUI.ReflectionUIGenerator
|
||||
}
|
||||
private System.Type _valueType;
|
||||
|
||||
/// <summary>
|
||||
/// 属性类型名称枚举
|
||||
/// </summary>
|
||||
#if ODIN_INSPECTOR // 属性类型名称枚举
|
||||
private IEnumerable AssemblyValueTypeNames
|
||||
{
|
||||
get
|
||||
@@ -75,6 +73,7 @@ namespace XericUI.ReflectionUIGenerator
|
||||
}
|
||||
}
|
||||
private static ValueDropdownList<string> _assemblyValueTypeName = null;
|
||||
#endif
|
||||
|
||||
/// <summary>
|
||||
/// 直接定义所有需要检查的类型
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
#if ODIN_INSPECTOR
|
||||
using Sirenix.OdinInspector;
|
||||
#endif
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
@@ -273,6 +275,7 @@ namespace XericUI.ReflectionUIGenerator
|
||||
/// </summary>
|
||||
public void ClearTriggerEvent()
|
||||
{
|
||||
#if dUI_TextMeshPro
|
||||
if (TMPInputField)
|
||||
{
|
||||
TMPInputField.onEndEdit.RemoveAllListeners();
|
||||
@@ -284,7 +287,7 @@ namespace XericUI.ReflectionUIGenerator
|
||||
TMPInputField.onValueChanged.RemoveAllListeners();
|
||||
TMPInputField.onTouchScreenKeyboardStatusChanged.RemoveAllListeners();
|
||||
}
|
||||
|
||||
#endif
|
||||
if (UIInputField)
|
||||
{
|
||||
UIInputField.onEndEdit.RemoveAllListeners();
|
||||
|
||||
Reference in New Issue
Block a user