技能主要更新,修复卡顿并加入动画,以及各种其他更新。

This commit is contained in:
FloatGaming
2026-02-07 21:05:17 +08:00
parent abeca51be5
commit 1ac3cd0104
1349 changed files with 1526749 additions and 24850 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
using UnityEngine;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
@@ -849,7 +849,7 @@ namespace AiryUI
{
float t = elapsedTime / animationHideDuration;
rectTransformComponent.rotation = Quaternion.Euler ( Vector3.Lerp ( Quaternion.ToEulerAngles ( rotation_initial ) , rotateTo , t ) );
rectTransformComponent.rotation = Quaternion.Euler ( Vector3.Lerp ( rotation_initial.eulerAngles * Mathf.Deg2Rad , rotateTo , t ) );
elapsedTime += DeltaTimeFor_HIDE;
yield return null;
@@ -1149,4 +1149,4 @@ namespace AiryUI
{
TimeScaleDependent = 0, NotTimeScaleDependent = 1
}
}
}
+4 -4
View File
@@ -1,4 +1,4 @@
using UnityEditor;
using UnityEditor;
using UnityEngine;
@@ -59,7 +59,7 @@ namespace AiryUI
{
InstantiateController ();
manager = FindObjectOfType<EscButtonController> ();
manager = Object.FindAnyObjectByType<EscButtonController> ();
if ( manager != null )
{
@@ -85,7 +85,7 @@ namespace AiryUI
private void InstantiateController ()
{
if ( !FindObjectOfType<EscButtonController> () )
if ( Object.FindAnyObjectByType<EscButtonController> () == null )
{
GameObject controller = new GameObject ( "[Airy UI] Esc Button Controller" );
controller.AddComponent<EscButtonController> ();
@@ -115,4 +115,4 @@ namespace AiryUI
}
}
}