MaterialRestorer Class

Definition

Utility class to help restore materials which are assets (normally shared materials) to their original state when modified.

public static class MaterialRestorer
type MaterialRestorer = class
Public Class MaterialRestorer
Inheritance
MaterialRestorer

Methods

Capture(Material)

Call this method to save a snapshot of a materials current state in time. This only works with material assets.

Restore(Material)

Call this method to restore a material to the state in time it was called with AddMaterialSnapshot. This only works with material assets.

Applies to