mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
bafe8832f6
* NTB.cs defines for OnGUI #if UNITY_EDITOR || DEVELOPMENT_BUILD for OnGUI() added. Related to this post, and discord discussion: https://github.com/vis2k/Mirror/issues/2871 "OnGUI calls allocate gc even when not doing anything" This should give developers a mini optimisation, and means no manual editing needed of NTB.cs for their final releases. * NTB.cs defines for OnGUI + Gizmos #if UNITY_EDITOR || DEVELOPMENT_BUILD for OnGUI() added. Related to this post, and discord discussion: #2871 "OnGUI calls allocate gc even when not doing anything" This should give developers a mini optimisation, and means no manual editing needed of NTB.cs for their final releases. Will apply to the other components, if accepted/good idea. + Added Gizmos section by request. * Update NetworkTransformBase.cs Co-authored-by: vis2k <info@noobtuts.com> |
||
---|---|---|
.. | ||
Mirror | ||
ScriptTemplates | ||
Mirror.meta | ||
ScriptTemplates.meta |