1
This commit is contained in:
@@ -6101,7 +6101,7 @@ MonoBehaviour:
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 11400000, guid: 7b6a2cbff5c66dc42a81b604c826c04d, type: 2}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
|
@@ -101838,15 +101838,15 @@ MonoBehaviour:
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 11400000, guid: 7b6a2cbff5c66dc42a81b604c826c04d, type: 2}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 11400000, guid: 7b6a2cbff5c66dc42a81b604c826c04d, type: 2}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 11400000}
|
||||
italicTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 0}
|
||||
- regularTypeface: {fileID: 11400000}
|
||||
italicTypeface: {fileID: 0}
|
||||
m_RegularStyleWeight: 0
|
||||
m_RegularStyleSpacing: 0
|
||||
|
@@ -135,7 +135,8 @@ namespace BITKit.UX
|
||||
try
|
||||
{
|
||||
CurrentOpacity = 0;
|
||||
TargetOpacity = 1;
|
||||
TargetOpacity = 1f;
|
||||
|
||||
document.rootVisualElement.SetActive(true);
|
||||
|
||||
OnEntry?.Invoke();
|
||||
@@ -190,7 +191,7 @@ namespace BITKit.UX
|
||||
public virtual void OnUpdate(float deltaTime)
|
||||
{
|
||||
var duration = 1f;
|
||||
if (TargetOpacity is 1)
|
||||
if (TargetOpacity is not 0)
|
||||
{
|
||||
if (entryDuration.Allow is false)
|
||||
{
|
||||
|
@@ -70,6 +70,11 @@ namespace BITKit.UX
|
||||
/// 历史面板
|
||||
/// </summary>
|
||||
internal static readonly Stack<IUXPanel> History = new();
|
||||
|
||||
/// <summary>
|
||||
/// 清空历史面板,通常用于关闭返回上一步
|
||||
/// </summary>
|
||||
public static void ClearHistory() => History.Clear();
|
||||
|
||||
public static void Register(IUXPanel panel) => RegistryQueue.Enqueue(panel);
|
||||
|
||||
|
Reference in New Issue
Block a user