From 7a1c5774a3d96fb247aaf8db910508715e222e4c Mon Sep 17 00:00:00 2001 From: vis2k Date: Tue, 25 Jan 2022 01:14:19 +0800 Subject: [PATCH] rename --- Assets/Mirror/Tests/Editor/SyncVarAttributeHookTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Mirror/Tests/Editor/SyncVarAttributeHookTest.cs b/Assets/Mirror/Tests/Editor/SyncVarAttributeHookTest.cs index a9fe8e832..5bf65e0f7 100644 --- a/Assets/Mirror/Tests/Editor/SyncVarAttributeHookTest.cs +++ b/Assets/Mirror/Tests/Editor/SyncVarAttributeHookTest.cs @@ -146,7 +146,7 @@ public struct DavidStruct { public int Value; } - class DavidHook_Ldflda : NetworkBehaviour + class DavidHookComponent : NetworkBehaviour { [SyncVar] public DavidStruct syncvar; @@ -510,8 +510,8 @@ public void ImerHook_Ldflda_Uses_Correct_SyncVar(bool intialState) public void DavidHook_SetSyncVarStructsValue(bool intialState) { CreateNetworkedAndSpawn( - out _, out _, out DavidHook_Ldflda serverObject, - out _, out _, out DavidHook_Ldflda clientObject); + out _, out _, out DavidHookComponent serverObject, + out _, out _, out DavidHookComponent clientObject); // change it on server. // should not throw.