D
D
Dmitry Korolev2018-05-03 21:54:44
Unity
Dmitry Korolev, 2018-05-03 21:54:44

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

1 answer(s)
D
Dmitry Korolev, 2018-05-28
@adressmoeistranici

EditorApplication.delayCall += new EditorApplication.CallbackFunction(funk);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question