Search Unity

Feedback Scene object or Prefab object icon in the Inspector

Discussion in 'Prefabs' started by Wattosan, Aug 8, 2019.

  1. Wattosan

    Wattosan

    Joined:
    Mar 22, 2013
    Posts:
    460
    Hey,

    It would be nice if in the Inspector, when referencing an object, there was an icon that when an object is referenced, it would show if the object referenced is a scene object or a prefab.

    For example, in the case of nested prefabs. If one of the root objects references an object that could be a child of that root (which could also be a prefab), then that reference could be set to the actual child object, in the hierarchy or it could be set to the prefab in the project folder.

    If the reference is made incorrectly, the results could be unexpected and unwanted (accessing and modfiying that object via script at runtime). For this, adding some kind of an indicator to the Inspector at the referenced spot, would help prevent such cases.

    Thanks!
     
    NeatWolf and Grizmu like this.