Ejemplo n.º 1
0
        public UnityInternalPropertyHandler()
        {
            var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.PropertyHandler");
            var obj   = System.Activator.CreateInstance(klass);

            _internalPropertyHandler = new TypeAccessWrapper(klass, obj, true);
        }
 static IconHelper()
 {
     _accessWrapper = new TypeAccessWrapper(typeof(EditorGUIUtility), true);
 }
        static GUIViewProxy()
        {
            var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.GUIView");

            _staticWrapper = new TypeAccessWrapper(klass, true);
        }
        static ScriptAttributeUtility()
        {
            var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.ScriptAttributeUtility");

            _accessWrapper = new TypeAccessWrapper(klass, true);
        }
        static SPEditorGUI()
        {
            var klass = InternalTypeUtil.UnityEditorAssembly.GetType("UnityEditor.EditorGUI");

            _accessWrapper = new TypeAccessWrapper(klass, true);
        }
Ejemplo n.º 6
0
 private DefaultPropertyHandler_Old()
 {
     //block constructor
     _editorGuiAccessWrapper = new TypeAccessWrapper(typeof(EditorGUI));
     _editorGuiAccessWrapper.IncludeNonPublic = true;
 }