mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-12-08 05:49:08 +00:00
提交
This commit is contained in:
@@ -136,12 +136,12 @@ namespace JNGame.Sync.Entity
|
||||
//生命周期
|
||||
public virtual void OnSyncStart(){}
|
||||
|
||||
public virtual void OnSyncUpdate()
|
||||
public virtual void OnSyncUpdate(int dt)
|
||||
{
|
||||
//给组件推帧
|
||||
foreach (var component in GetComponents())
|
||||
{
|
||||
(component as JNComponent)?.OnSyncUpdate();
|
||||
(component as JNComponent)?.OnSyncUpdate(dt);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user