Search Unity

Is there a way to search for a property in the Inspector window?

Discussion in 'General Discussion' started by MartinOrtiz, Apr 13, 2021.

  1. MartinOrtiz

    MartinOrtiz

    Joined:
    Apr 12, 2018
    Posts:
    122
    I purchased a component.....and am reading the directions on how to use it....

    It says to set the property on the component to a value.

    I have looked carefully, but do not see this property anywhere.

    Is there a way to search for properties in the Inspector window itself?
    Maybe it's there but I do not see it.
     
  2. Socrates

    Socrates

    Joined:
    Mar 29, 2011
    Posts:
    787
    Make sure you are looking at the right component. More than once, I've just been looking in the wrong place.

    If the component is a script, open the script and look at what order the variables are in. You can search for the property there.

    Remember that public variables show up, but private will not unless the code uses [Serialize Field] or you turn on Debug Mode in the Inspector. (Top right corner, click the little dots in the Inspector.)
     
  3. MartinOrtiz

    MartinOrtiz

    Joined:
    Apr 12, 2018
    Posts:
    122
    Good point.