File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
com.unity.netcode.gameobjects/Runtime/Core Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -694,6 +694,9 @@ public virtual void OnNetworkSpawn() { }
694694 /// </remarks>
695695 protected virtual void OnNetworkPostSpawn ( ) { }
696696
697+ /// <summary>
698+ /// Internal implementation of post-spawn functionality. Called after OnNetworkSpawn to handle internal post-spawn operations.
699+ /// </summary>
697700 protected internal virtual void InternalOnNetworkPostSpawn ( ) { }
698701
699702 /// <summary>
@@ -708,6 +711,9 @@ protected internal virtual void InternalOnNetworkPostSpawn() { }
708711 /// </remarks>
709712 protected virtual void OnNetworkSessionSynchronized ( ) { }
710713
714+ /// <summary>
715+ /// Internal implementation of network session synchronization. Handles the internal processing of session synchronization events.
716+ /// </summary>
711717 protected internal virtual void InternalOnNetworkSessionSynchronized ( ) { }
712718
713719 /// <summary>
@@ -1386,6 +1392,11 @@ protected virtual void OnSynchronize<T>(ref BufferSerializer<T> serializer) wher
13861392
13871393 }
13881394
1395+ /// <summary>
1396+ /// Called when network conditions require reanticipation of game state.
1397+ /// Override this method to handle adjustments needed when network latency changes.
1398+ /// </summary>
1399+ /// <param name="lastRoundTripTime">The most recent round trip time measurement in seconds</param>
13891400 public virtual void OnReanticipate ( double lastRoundTripTime )
13901401 {
13911402
Original file line number Diff line number Diff line change 3737 " Unity.Netcode.ConnectionEventData: EventType: undocumented" ,
3838 " Unity.Netcode.RpcException: undocumented" ,
3939 " Unity.Netcode.RpcException: .ctor(string): undocumented" ,
40- " Unity.Netcode.NetworkBehaviour: void InternalOnNetworkPostSpawn(): undocumented" ,
41- " Unity.Netcode.NetworkBehaviour: void InternalOnNetworkSessionSynchronized(): undocumented" ,
42- " Unity.Netcode.NetworkBehaviour: void OnReanticipate(double): undocumented" ,
4340 " Unity.Netcode.NetworkManager: CurrentSessionOwner: undocumented" ,
4441 " Unity.Netcode.NetworkManager: void NetworkUpdate(NetworkUpdateStage): undocumented" ,
4542 " Unity.Netcode.NetworkManager.ReanticipateDelegate: undocumented" ,
You can’t perform that action at this time.
0 commit comments