This commit is contained in:
CortexCore
2024-06-14 14:11:28 +08:00
parent 4a2ab82e20
commit 349877fe7a
10 changed files with 28 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ namespace BITKit
AsGlobal = asGlobal;
}
}
#if UNITY_64
#if !Godot
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Field | AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public class ExportAttribute : System.Attribute
{

View File

@@ -8,7 +8,7 @@ namespace BITKit
{
public static class BIT4Log
{
#if UNITY_EDITOR && !UNITY_WEBGL
#if UNITY_EDITOR && UNITY_64
[RuntimeInitializeOnLoadMethod]
private static void Reload()
{

View File

@@ -52,8 +52,7 @@ namespace BITKit.Tween
t = math.clamp(t + delta*BITApp.Time.DeltaTime, 0, 1);
var next = math.lerp(from, to, t);
//BIT4Log.Log<TweenSequence>($"当前进度:[{t}]next:[{next}]");
#if UNITY_64
#if UNITY_5_3_OR_NEWER
await UniTask.NextFrame(cancellationToken);
await UniTask.SwitchToMainThread(cancellationToken);
#else