We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1caf29a commit 5f81331Copy full SHA for 5f81331
com.unity.netcode.gameobjects/Runtime/NetworkVariable/NetworkVariable.cs
@@ -1,4 +1,3 @@
1
-using System.Collections.Generic;
2
using UnityEngine;
3
using System;
4
@@ -83,11 +82,6 @@ public virtual T Value
83
82
84
private protected void Set(T value)
85
{
86
- if (EqualityComparer<T>.Default.Equals(m_InternalValue, value))
87
- {
88
- return;
89
- }
90
-
91
m_IsDirty = true;
92
T previousValue = m_InternalValue;
93
m_InternalValue = value;
0 commit comments