mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
提交
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using GAS.Runtime;
|
||||
using JNGame.Runtime.GAS.Runtime;
|
||||
using JNGame.Sync.System;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -9,27 +10,26 @@ namespace JNGame.Runtime.Sync.System.Logic
|
||||
/// </summary>
|
||||
public class JNGASSystem : SLogicSystem
|
||||
{
|
||||
//
|
||||
// /// <summary>
|
||||
// /// GAS 管理器
|
||||
// /// </summary>
|
||||
// private JexGasManager _gas = new();
|
||||
// public JexGasManager GAS => _gas;
|
||||
|
||||
/// <summary>
|
||||
/// GAS 管理器
|
||||
/// </summary>
|
||||
private JexGasManager _gas = new();
|
||||
public JexGasManager GAS => _gas;
|
||||
|
||||
public override void OnSyncUpdate(int dt)
|
||||
{
|
||||
// GAS.Update(dt);
|
||||
GAS.Update(dt);
|
||||
}
|
||||
|
||||
public void Register(AbilitySystemComponent abilitySystemComponent)
|
||||
{
|
||||
// GAS.Register(abilitySystemComponent);
|
||||
GAS.Register(abilitySystemComponent);
|
||||
}
|
||||
|
||||
public bool Unregister(AbilitySystemComponent abilitySystemComponent)
|
||||
{
|
||||
// return GAS.Unregister(abilitySystemComponent);
|
||||
return false;
|
||||
return GAS.Unregister(abilitySystemComponent);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user