docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RemoveAdditionalDataUtils

    Utilities to remove MonoBehaviour implementing IAdditionalData

    Inheritance
    object
    RemoveAdditionalDataUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public static class RemoveAdditionalDataUtils

    Methods

    RemoveAdditionalData(MenuCommand, bool)

    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

    bool promptDisplay

    If the command must prompt a display to get user confirmation

    Exceptions
    Type Condition
    Exception

    If the given MonoBehaviour is not an IAdditionalData

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)