Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

modify properties at original prefabs via script

Discussion in 'Prefabs' started by yu_yang, Jul 23, 2021.

  1. yu_yang

    yu_yang

    Joined:
    May 3, 2015
    Posts:
    85
    I want to modify some properties of many GameObjects with specific component type, but it's complicated because there are scene-instances V.S. prefabs, variants V.S. sources, nested V.S. root, and overridden values V.S. referenced values. How can I only modify properties at original prefabs (if exist) without creating any new overrides?