mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
still fails
This commit is contained in:
parent
ff5bd94c9c
commit
d40ca81af1
@ -29,10 +29,13 @@ public override void TearDown()
|
||||
base.TearDown();
|
||||
}
|
||||
|
||||
class SyncVarTest1NetworkBehaviour : NetworkBehaviour
|
||||
class ParentNesting
|
||||
{
|
||||
public class SyncVarTest1NetworkBehaviour : NetworkBehaviour
|
||||
{
|
||||
[SyncVar] public int value;
|
||||
}
|
||||
}
|
||||
|
||||
// server should still broadcast ClientToServer components to everyone
|
||||
// except the owner.
|
||||
@ -40,7 +43,7 @@ class SyncVarTest1NetworkBehaviour : NetworkBehaviour
|
||||
public void SerializeServer_ObserversMode_ClientToServer()
|
||||
{
|
||||
CreateNetworked(out GameObject _, out NetworkIdentity identity,
|
||||
out SyncVarTest1NetworkBehaviour comp);
|
||||
out ParentNesting.SyncVarTest1NetworkBehaviour comp);
|
||||
|
||||
// pretend to be owned
|
||||
identity.isOwned = true;
|
||||
|
Loading…
Reference in New Issue
Block a user