mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
remove unused
This commit is contained in:
parent
1a75bcc616
commit
86d8986f5b
@ -13,14 +13,6 @@ public override void TearDown()
|
||||
base.TearDown();
|
||||
}
|
||||
|
||||
// TODO remove some day. it only adds syncInterval setting.
|
||||
protected T CreateObject<T>() where T : NetworkBehaviour
|
||||
{
|
||||
CreateNetworked(out GameObject _, out NetworkIdentity _, out T behaviour);
|
||||
behaviour.syncInterval = 0f;
|
||||
return behaviour;
|
||||
}
|
||||
|
||||
protected NetworkIdentity CreateNetworkIdentity(uint netId)
|
||||
{
|
||||
CreateNetworked(out GameObject gameObject, out NetworkIdentity networkIdentity);
|
||||
|
Loading…
Reference in New Issue
Block a user