Answer the question
In order to leave comments, you need to log in
What event for the inspector to use to call the delegate after rendering?
I ran into a problem that when a button is called from the inspector, the function is called in the same frame, and it is not possible to display the inspector's lock before the function starts executing.
I created a delegate for myself, but I don’t know in which event to use it.
Please tell me one that is called when OnInspectorGUI has already drawn everything
Answer the question
In order to leave comments, you need to log in
EditorApplication.delayCall += new EditorApplication.CallbackFunction(funk);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question