Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Quick revert overrides

Discussion in 'Prefabs' started by olejuer, Apr 6, 2022.

  1. olejuer

    olejuer

    Joined:
    Dec 1, 2014
    Posts:
    204
    Hi everyone,

    I find myself reverting prefab changes a lot to clean things up. Every temporary back-and-forth change I make leaves instances with an override. Often it's not what I want. I am looking for a quick & easy way to revert individual changes. I propose alt-click properties to revert. And alt-click the header to revert the entire component.
    (ctrl-z only does the job for the most recent change)

    Example:
    - You have a prefab instance in a scene
    - For testing purposes, you deactivate a component on it
    - You reenable the component, but now it's an override
    - You go "Rightclick -> Revert"
    - That's two clicks with context menu. I want one click.

    I leave this here as a feature suggestion. But I'll also ask: Does anyone have an idea of how to script this yourself? Or is there maybe already such a thing I don't know about?

    Oh, and maybe alt+shift+click to apply instead of revert?

    Cheers!
    Ole
     
    Last edited: Apr 6, 2022
  2. Peter_Olsted

    Peter_Olsted

    Unity Technologies

    Joined:
    Apr 19, 2021
    Posts:
    50
    Thank you for the suggestion. We will take a note of it.
     
    olejuer likes this.