Search Unity

Feedback Scene object or Prefab object icon in the Inspector

Discussion in 'Prefabs' started by F-R-O-S-T-Y, Aug 8, 2019.

  1. F-R-O-S-T-Y

    F-R-O-S-T-Y

    Joined:
    Mar 22, 2013
    Posts:
    211
    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 Griz like this.