提交GAS

This commit is contained in:
PC-20230316NUNE\Administrator
2024-10-23 20:13:31 +08:00
parent 1953e7c25f
commit 9303606b31
28 changed files with 4203 additions and 3300 deletions

View File

@@ -1,5 +1,6 @@

using JNGame.Serialization;
using UnityEngine;
namespace GAS.Runtime
{
@@ -13,10 +14,11 @@ namespace GAS.Runtime
/// 编辑器预览用
/// 【注意】 覆写时记得用UNITY_EDITOR宏包裹这是预览表现用的函数不该被编译。
/// </summary>
/// <param name="preview"></param>
/// <param name="frame"></param>
/// <param name="startFrame"></param>
/// <param name="endFrame"></param>
public virtual void OnEditorPreview(int frame, int startFrame, int endFrame)
public virtual void OnEditorPreview(GameObject preview,int frame, int startFrame, int endFrame)
{
}
#endif

View File

@@ -18,7 +18,7 @@ namespace JNGame.Runtime.GAS.Runtime
#endif
//---------------- 全局信息 ------------------------------------------------------------------------------------------
private static int _TimeLineAbilityTickTime = 20;
private static int _TimeLineAbilityTickTime = 100;
public static int TimeLineAbilityTickTime => _TimeLineAbilityTickTime;
public static int FrameRateValue => 1000 / _TimeLineAbilityTickTime;