static SPEditorGUI() { var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.EditorGUI"); _accessWrapper = new TypeAccessWrapper(klass, true); }
static IconHelper() { _accessWrapper = new TypeAccessWrapper(typeof(EditorGUIUtility), true); }
private DefaultPropertyHandler() { //block constructor _editorGuiAccessWrapper = new TypeAccessWrapper(typeof(EditorGUI)); _editorGuiAccessWrapper.IncludeNonPublic = true; }
public UnityInternalPropertyHandler() { var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.PropertyHandler"); var obj = System.Activator.CreateInstance(klass); _internalPropertyHandler = new TypeAccessWrapper(klass, obj, true); }
static ScriptAttributeUtility() { var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.ScriptAttributeUtility"); _accessWrapper = new TypeAccessWrapper(klass, true); }
static GUIViewProxy() { var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.GUIView"); _staticWrapper = new TypeAccessWrapper(klass, true); }