docs.unity.cn
    Show / Hide Table of Contents

    Interface IPreviewable

    Implement this interface in a Component to register properties for previewing purposes, preventing Unity from marking Prefabs or the Scene as modified.

    Namespace: Unity.LiveCapture
    Syntax
    public interface IPreviewable

    Methods

    Register(IPropertyPreviewer)

    The preview system calls this method before playing animations. Use the specified IPropertyPreviewer to register animated properties.

    Declaration
    void Register(IPropertyPreviewer previewer)
    Parameters
    Type Name Description
    IPropertyPreviewer previewer

    The IPropertyPreviewer to register animated properties to.

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