just wanted a confirmation, but is it me or is drawing out gizmos REALLY slow (of course this may be more system dependant)? Any tips for speeding things up?
Also does it continually run what's in OnDrawGizmosSelected() / OnDrawGizmos() or does it only run once upon refresh / changes to the view?
Well usually it's not that slow. How many gizmos are you drawing? Unity's editor is completely event driven, so usually it's only executed when certain events occur like a mousemove / click / drag.
Debug.Log (or print) is quite heavy if it's executed every frame or in repeatedly executed functions.
answered May 08 '12 at 02:41 AM