Mirror/Assets
JesusLuvsYooh bafe8832f6
NTB.cs defines for OnGUI (#2874)
* 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>
2021-08-10 14:46:11 +08:00
..
Mirror NTB.cs defines for OnGUI (#2874) 2021-08-10 14:46:11 +08:00
ScriptTemplates Removed Network Observer Script Template 2021-08-09 00:32:26 -04:00
Mirror.meta Source based instead of dll (#277) 2019-01-13 21:08:54 +01:00
ScriptTemplates.meta feat: Add ScriptTemplates to repo and package (#2559) 2021-02-05 09:34:22 +08:00