更新0.5.11
This commit is contained in:
@@ -5,6 +5,7 @@ using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.EventSystems;
|
||||
using UnityEngine.Serialization;
|
||||
using XericLibrary.Runtime.MacroLibrary;
|
||||
|
||||
namespace Deconstruction.UI.TmpText
|
||||
@@ -17,6 +18,8 @@ namespace Deconstruction.UI.TmpText
|
||||
{
|
||||
private TextMeshProUGUI _tmpText;
|
||||
|
||||
public bool autoFixRayCastTargetState = true;
|
||||
|
||||
#if ODIN_INSPECTOR
|
||||
[LabelText("超链接管理器*")]
|
||||
#endif
|
||||
@@ -64,7 +67,7 @@ namespace Deconstruction.UI.TmpText
|
||||
}
|
||||
#endif
|
||||
|
||||
private void Awake()
|
||||
protected virtual void Awake()
|
||||
{
|
||||
if (_tmpText == null)
|
||||
_tmpText = GetComponent<TextMeshProUGUI>();
|
||||
@@ -73,7 +76,13 @@ namespace Deconstruction.UI.TmpText
|
||||
if (manager == null)
|
||||
throw new Exception("TMP文本超链接集成捕获组件必须放在具有管理器的父级下");
|
||||
}
|
||||
|
||||
|
||||
protected virtual void OnEnable()
|
||||
{
|
||||
if (autoFixRayCastTargetState)
|
||||
_tmpText.raycastTarget = true;
|
||||
}
|
||||
|
||||
public void OnPointerClick(PointerEventData eventData)
|
||||
{
|
||||
ClickPoint(eventData.position);
|
||||
|
||||
Binary file not shown.
@@ -3643,6 +3643,42 @@
|
||||
<param name="interpolationSyntax">内插语法,表示此foreachdo不会作为执行器运行,而是作为其中一步执行</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroMath.UntilTrue``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Boolean)">
|
||||
<summary>
|
||||
迭代直到真状态
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
<param name="source"></param>
|
||||
<param name="getState"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroMath.UntilFalse``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean},System.Boolean)">
|
||||
<summary>
|
||||
迭代直到假状态
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
<param name="source"></param>
|
||||
<param name="getState"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroMath.UntilEqules``1(System.Collections.Generic.IEnumerable{``0},``0,System.Boolean)">
|
||||
<summary>
|
||||
迭代直到相等
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
<param name="source"></param>
|
||||
<param name="target"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroMath.UntilNotEqules``1(System.Collections.Generic.IEnumerable{``0},``0,System.Boolean)">
|
||||
<summary>
|
||||
迭代直到不相等
|
||||
</summary>
|
||||
<typeparam name="T"></typeparam>
|
||||
<param name="source"></param>
|
||||
<param name="target"></param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroMath.IndexOf``1(System.Collections.Generic.IEnumerable{``0},System.Func{``0,System.Boolean})">
|
||||
<summary>
|
||||
在枚举器中定位到首个当equals结果为真的项目索引
|
||||
@@ -9124,6 +9160,11 @@
|
||||
忽略循环引用
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:XericLibrary.Runtime.MacroLibrary.MacroFile.NullFloatConverter">
|
||||
<summary>
|
||||
可空浮点
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:XericLibrary.Runtime.MacroLibrary.MacroFile.GetSpecialPath(System.String,System.Environment.SpecialFolder)">
|
||||
<summary>
|
||||
获取系统枚举路径
|
||||
|
||||
Reference in New Issue
Block a user