mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
基础案例 准备改帧同步了
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
using GAS.Runtime;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
namespace GAS.Editor
|
||||
{
|
||||
@@ -9,7 +11,7 @@ namespace GAS.Editor
|
||||
public const int StandardFrameUnitWidth = 1;
|
||||
public const int MaxFrameUnitLevel= 20;
|
||||
public const float MinTimerShaftFrameDrawStep = 5;
|
||||
public int DefaultFrameRate => GASTimer.FrameRate;
|
||||
public int DefaultFrameRate => JexGasManager.FrameRate;
|
||||
}
|
||||
}
|
||||
#endif
|
@@ -136,8 +136,8 @@ namespace GAS.Editor
|
||||
{
|
||||
if (_selected == null || _selected.Id == 0)
|
||||
{
|
||||
_selected = GAS.GameplayAbilitySystem.GAS.AbilitySystemComponents.Count > 0
|
||||
? GAS.GameplayAbilitySystem.GAS.AbilitySystemComponents[0] as AbilitySystemComponent
|
||||
_selected = JexGasManager.Editor.AbilitySystemComponents.Count > 0
|
||||
? JexGasManager.Editor.AbilitySystemComponents[0] as AbilitySystemComponent
|
||||
: null;
|
||||
}
|
||||
|
||||
@@ -165,7 +165,7 @@ namespace GAS.Editor
|
||||
if (!IsPlaying) return;
|
||||
|
||||
menuScrollPos = EditorGUILayout.BeginScrollView(menuScrollPos, GUI.skin.box);
|
||||
foreach (var iasc in GAS.GameplayAbilitySystem.GAS.AbilitySystemComponents)
|
||||
foreach (var iasc in JexGasManager.Editor.AbilitySystemComponents)
|
||||
{
|
||||
var asc = (AbilitySystemComponent)iasc;
|
||||
var presetName = asc.Preset != null ? asc.Preset.name : "NoPreset";
|
||||
|
Reference in New Issue
Block a user