• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Oninspectorgui

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

DSivtsov edited

Editor Scripting: best way to change variables of a custom editor?

Dec 13, '20 editor-scripting·custom editor·oninspectorgui

2 Replies

0 Votes

avatar image

KrishGameHacker published

Assign script into another script in Inspector

Nov 16, '20 editor·inspector·class·serialize·oninspectorgui

2 Replies

0 Votes

avatar image

Long2904 asked

How to show preview tile even when i don't select the gameobject in the hierachy?

Mar 25, '20 gameobject·tilemap·custom-inspector·preview·oninspectorgui

0 Replies

0 Votes

avatar image

Bunny83 answered

How do i make my own On(somethingSomething)() function?

Mar 18, '20 ontriggerenter·monobehaviour·oninspectorgui

4 Replies

0 Votes

avatar image

streeetwalker edited

Force CustomEditor to Update?

Feb 25, '20 custom editor·custom-inspector·oninspectorgui·redraw

0 Replies

0 Votes

avatar image

AldeRoberge commented

OnInspectorGUI not working

Jan 7, '20 inspector·oninspectorgui

1 Reply

0 Votes

avatar image

Billy4184 answered

Type casting SerializedProperty.objectReferenceValue doesn't work?

Dec 13, '19 editor·serializedproperty·customeditor·serializedobject·oninspectorgui

3 Replies

5 Votes

avatar image

Xarbrough commented

How do you force a custom inspector to redraw?

Nov 23, '19 inspector·refresh·oninspectorgui·redraw

7 Replies

4 Votes

avatar image

MisterKidX answered

Edit AnimationCurve from the inspector view? (Custom inspector)

Sep 2, '19 animationcurve·oninspectorgui

1 Reply

6 Votes

avatar image

Exigo95 commented

Custom Inspector, How to create textfield on button click?

May 31, '19 inspector·oninspectorgui·guilayout.button

1 Reply

0 Votes

avatar image

Zymurer asked

OnInspectorGUI for ParticleSystem type

Dec 14, '18 particlesystem·editorguilayout·oninspectorgui

0 Replies

0 Votes

avatar image

theGreatSlutze asked

Callback when custom PropertyAttribute changes

Sep 19, '18 inspector·editor-scripting·propertydrawer·oninspectorgui

0 Replies

0 Votes

avatar image

Master_Davicous edited

for loop in OnInpectorGUI giving NullReferenceException error for some reason?

Apr 4, '18 nullreferenceexception·for-loop·oninspectorgui

1 Reply

0 Votes

avatar image

uulamock_unity answered

How to prevent prefab of custom editor inspector from overriding array size.

Oct 9, '17 c#·prefab·array·custom editor·oninspectorgui

1 Reply

0 Votes

avatar image

uromastix87 edited

OnInspectorGui : how to get selected field ?

Sep 28, '17 inspector·oninspectorgui

3 Replies

0 Votes

avatar image

AlanMattano commented

Editor GUI TEXT On Inspector: How to add header text note in the inspector using a Custom Editor Inspector script ?

Aug 25, '17 text·editor-scripting·editorgui·editorguilayout·oninspectorgui

1 Reply

1 Votes

avatar image

Sakirma edited

OnInspectorGUI() Getting Control 2's position in a group with only 2 controls when doing repaint

Aug 1, '17 c#·gui·error·editor·oninspectorgui

1 Reply

0 Votes

avatar image

AndrewKaninchen asked

Is there a way to draw on the scene view from an asset being inspected by the Inspector?

Jul 25, '17 gui·inspector·editor-scripting·onscenegui·oninspectorgui

0 Replies

0 Votes

avatar image

paladinrose asked

Argument Exception when selecting object

Jun 19, '17 argumentexception·oninspectorgui

0 Replies

0 Votes

avatar image

PatrickReynolds commented

EditorGUILayout.ObjectField redundant space between label and object field?

May 10, '17 space·editorgui·editorguilayout·objectfield·oninspectorgui

1 Reply

5 Votes

avatar image

Bunny83 answered

Editor values not updating in OnSceneGUI

Dec 11, '16 editor-scripting·onscenegui·oninspectorgui

1 Reply

0 Votes

avatar image

zero_null commented

How to get fields of a custom script through SerializedProperty.FindPropertyRelative?

Dec 6, '16 editor·serializedproperty·customeditor·serializedobject·oninspectorgui

1 Reply

1 Votes

avatar image

Bunny83 commented

Custom inspector resets values when refreshing

Nov 11, '16 variable·inspector·custom-inspector·oninspectorgui

1 Reply

1 Votes

avatar image

Bunny83 answered

How do you instantiate a reference in a custom editor?

Jul 15, '16 editor-scripting·oninspectorgui

1 Reply

1 Votes

avatar image

Greg-Bassett published

( Schrödinger's boolean?) custom Editor class OnSceneGUI() and OnInspectorGUI() accessing variable problem!!

Jan 13, '16 editor-scripting·boolean·onscenegui·oninspectorgui

2 Replies

1 Votes

avatar image

Chom1czek commented

Custom Editor problem with FindingProperty

Sep 22, '15 in Help Room

0 Replies

0 Votes

avatar image

MrMatthias edited

OnInspectorGUI Custom Drawing?

Sep 10, '15 inspector·rendertexture·drawing·gl·oninspectorgui

1 Reply

0 Votes

avatar image

Positive7 answered

Add trasform to list using editor gui.

Jul 30, '15 editor·list·editor-scripting·oninspectorgui

1 Reply

0 Votes

avatar image

APProjects answered

Inspector extension: multiple buttons with for loop?

Mar 12, '15 unityeditor·override·extend·oninspectorgui

1 Reply

0 Votes

avatar image

arelian11 edited

Preventing users from editing specific properties in any arbitrary inspector _without_ creating custom inspectors? Wiki

Feb 5, '15 inspector·reflection·properties·attribute·oninspectorgui

0 Replies

0 Votes

  • 1
  • 2
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

editor inspector editor-scripting gui editorgui customeditor editorguilayout custom editor onscenegui custom-inspector list serializedproperty serialize nullreferenceexception variable serializedobject serialization override c# redraw objectfield serializefield component getsetter gl


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges