This commit is contained in:
CortexCore
2024-06-18 17:57:21 +08:00
parent 82294e44ee
commit d3fd104900
10 changed files with 105 additions and 43 deletions

View File

@@ -34,7 +34,7 @@ namespace BITKit.Entities.Player
{
x.OnPlayerInitialized();
}
UnityPlayerServiceService.Register((Entity)UnityEntity);
UnityPlayerService.Register((Entity)UnityEntity);
}
public override async void OnDestroyComponent()
{
@@ -53,7 +53,7 @@ namespace BITKit.Entities.Player
x.OnPlayerDisposed();
}
disposeCancellationTokenSource.Dispose();
UnityPlayerServiceService.UnRegister((Entity)UnityEntity);
UnityPlayerService.UnRegister((Entity)UnityEntity);
}
public void Serialize(BinaryWriter writer)
{