Interface IPropertyPreviewer
Represents an animation preview system. It allows to register properties to prevent Unity from marking Prefabs or the Scene as modified when you preview animations.
Namespace: Unity.LiveCapture
Assembly: Unity.LiveCapture.dll
Syntax
public interface IPropertyPreviewer
Methods
Register(Component, string)
Adds a property from a specified Component.
Declaration
void Register(Component component, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Component | component | The Component to register the property from. |
string | propertyName | The name of the property to register. |
Register(GameObject, string)
Adds a property from a specified GameObject.
Declaration
void Register(GameObject go, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go | The GameObject to register the property from. |
string | propertyName | The name of the property to register. |