docs.unity.cn
    Show / Hide Table of Contents

    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
    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.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023