mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkManager.sendInterval for convenience
This commit is contained in:
parent
ce23c2ded5
commit
d8e91f3053
@ -42,6 +42,9 @@ public class NetworkManager : MonoBehaviour
|
||||
[FormerlySerializedAs("serverTickRate")]
|
||||
public int sendRate = 60;
|
||||
|
||||
// sendInterval := 1 / sendRate for convenience
|
||||
public float sendInterval => 1f / sendRate;
|
||||
|
||||
// Deprecated 2023-11-25
|
||||
// Using SerializeField and HideInInspector to self-correct for being
|
||||
// replaced by headlessStartMode. This can be removed in the future.
|
||||
|
Loading…
Reference in New Issue
Block a user