mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
rename
This commit is contained in:
parent
212ec448fb
commit
7a1c5774a3
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user