Practice free →
Home › Per Unity Editor docs, CUSTOM INSPECTORS are imp…

Per Unity Editor docs, CUSTOM INSPECTORS are implemented by overriding which Editor class method?

AAwake() with [SerializeField] attributes always
BOnInspectorGUI() in a class extending Editor
CUpdate() in a MonoBehaviour as usual
DStart() in a runtime-only Behaviour
Answer & Solution
Correct answer: B. OnInspectorGUI() in a class extending Editor
Unity Manual (Custom Editors): class CustomFoo : Editor; OnInspectorGUI() draws controls (EditorGUILayout). Tagged [CustomEditor(typeof(Foo))].
Solve this in the app — Practice practice & 24k+ MCQs →
Related questions