mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkBehaviour.SyncVarGameObjectEqual made internal so we can test it. We will make this static soon anyway.
This commit is contained in:
parent
7c4ea0d08b
commit
fa707832a9
@ -470,7 +470,7 @@ public static CmdDelegate GetDelegate(int cmdHash)
|
|||||||
|
|
||||||
// helper function for [SyncVar] GameObjects.
|
// helper function for [SyncVar] GameObjects.
|
||||||
[EditorBrowsable(EditorBrowsableState.Never)]
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
||||||
protected bool SyncVarGameObjectEqual(GameObject newGameObject, uint netIdField)
|
internal bool SyncVarGameObjectEqual(GameObject newGameObject, uint netIdField)
|
||||||
{
|
{
|
||||||
uint newNetId = 0;
|
uint newNetId = 0;
|
||||||
if (newGameObject != null)
|
if (newGameObject != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user