mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 10:46:17 +00:00
临时提交 我困了睡觉了
This commit is contained in:
@@ -12,13 +12,24 @@ namespace JNGame.Runtime.Sync.System.Logic
|
||||
/// <summary>
|
||||
/// GAS 管理器
|
||||
/// </summary>
|
||||
private JexGasManager _gas = new JexGasManager();
|
||||
private JexGasManager _gas = new();
|
||||
public JexGasManager GAS => _gas;
|
||||
|
||||
public override void OnSyncStart()
|
||||
public override void OnSyncUpdate(int dt)
|
||||
{
|
||||
base.OnSyncStart();
|
||||
GAS.Update();
|
||||
}
|
||||
|
||||
public void Register(AbilitySystemComponent abilitySystemComponent)
|
||||
{
|
||||
GAS.Register(abilitySystemComponent);
|
||||
}
|
||||
|
||||
public bool Unregister(AbilitySystemComponent abilitySystemComponent)
|
||||
{
|
||||
return GAS.Unregister(abilitySystemComponent);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user