Search Unity

How to revert (or apply) a single property from script?

Discussion in 'Prefabs' started by chanon81, Nov 20, 2018.

  1. chanon81

    chanon81

    Joined:
    Oct 6, 2015
    Posts:
    168
    I see that there is PrefabUtility.RevertPrefabInstance() but how would I revert a single property?
     
  2. runevision

    runevision

    Joined:
    Nov 28, 2007
    Posts:
    1,892
    SugoiDev likes this.
  3. chanon81

    chanon81

    Joined:
    Oct 6, 2015
    Posts:
    168
    Thank you! Sorry, I was looking at 2018.2 documentation.
     
    runevision likes this.