- Home /
Question by
Romano · Sep 04, 2014 at 03:17 AM ·
gizmoondrawgizmos
Equivalent of Awake() for Gizmos?
I'm using OnDrawGizmos for a little in-editor script and I think I get that those run every frame. But where do I set colors for gizmos? Or cache transforms? Is it possible, like is there an equivalent of Awake() for in the editor?
I've had a look through the docs and I feel like the answer is no, but just wondering if I'm missing something :)
Thanks very much!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613162246im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Mouse click in edit mode. ✱✺✸❁ 1 Answer
Constantly Update Scene View 1 Answer
How to pick OnDrawGizmos gizmo? 2 Answers
Permanent handles (when object is not selected) 1 Answer
Editor Scripting - Override Scaling 1 Answer