timo-sisus / Power-Inspector

Report bugs and offer improvement ideas for Power Inspector.
http://u3d.as/1sNc
8 stars 0 forks source link

Context menu "Apply to Prefab" / "Apply as override of <prfab variant>" doesn't show in the context menu if custom script assigned to the prefab #11

Closed tettogreen closed 4 years ago

tettogreen commented 4 years ago

Unity Version: 2018.4.11.f1 OS: Windows

Steps:

  1. Add any custom written component to the prefab variant
  2. Right click the added component

Result: Context menu has no "Apply to Prefab" / "Apply as override of " options

Expected Result: Context menu should have "Apply to Prefab" / "Apply as override of " options

image

timo-sisus commented 4 years ago

Context menu items for applying and reverting changes were added to all components that belong to a prefab instance.

tettogreen commented 4 years ago

Thanks!