docs.unity.cn
    Show / Hide Table of Contents

    Class RemoveAdditionalDataUtils

    Utilities to remove MonoBehaviour implementing IAdditionalData

    Inheritance
    Object
    RemoveAdditionalDataUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.Rendering
    Syntax
    public static class RemoveAdditionalDataUtils

    Methods

    RemoveAdditionalData(MenuCommand, Boolean)

    Removes a IAdditionalData and it's components defined by RequireComponent

    Declaration
    public static void RemoveAdditionalData(MenuCommand command, bool promptDisplay = true)
    Parameters
    Type Name Description
    MenuCommand command

    The command that is executing the removal

    Boolean promptDisplay

    If the command must prompt a display to get user confirmation

    Exceptions
    Type Condition
    Exception

    If the given MonoBehaviour is not an IAdditionalData

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023