Search Issue Tracker
Fixed in 5.0.X
Votes
1
Found in
4.0.0b7
Issue ID
493315
Regression
No
Documentation for OnDrawGizmos needs to be updated
The OnDrawGizmos documentation needs to be updated - it currently
states:
"Implement this OnDrawGizmos if you want to draw gizmos that are also
pickable and always drawn."
It should note that it is not drawn if the object is selected. For that case OnDrawGizmosSelected() should be used.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
greggman
Dec 09, 2013 04:19
Yes! Please also list
* the correct way to set/use Gizmos.matrix. Do I set it to transform.localWorldToMatrix? Do I need to restore it?
* the correct way to use OnDrawGizmos vs OnDrawGizmosSelect. OnDrawGizmos is always called regardless of whether or not it is selected therefore the recommended way of using both needs to be documented.
* the correct way to handle whether or not the component is enabled. Currently, even if the component is disabled the functions are still called. Is that a bug or the expected behavior. Should we surround our code with 'if (enabled)' ?