You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.unity.netcode.gameobjects/Runtime/NetworkVariable/AnticipatedNetworkVariable.cs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -263,6 +263,11 @@ public T AuthoritativeValue
263
263
264
264
privateSmoothDelegatem_SmoothDelegate=null;
265
265
266
+
/// <summary>
267
+
/// Initializes a new instance of the AnticipatedNetworkVariable class
268
+
/// </summary>
269
+
/// <param name="value">The initial value for the network variable. Defaults to the type's default value if not specified.</param>
270
+
/// <param name="staleDataHandling">Determines how the variable handles authoritative updates that are older than the current anticipated state. Defaults to StaleDataHandling.Ignore.</param>
0 commit comments