docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Delete

    Delete all gameobjects present in the input

    Inheritance
    object
    ActionBase
    ActionIn<IList<GameObject>>
    Delete
    Inherited Members
    ActionIn<IList<GameObject>>.inputType
    ActionIn<IList<GameObject>>.outputType
    ActionIn<IList<GameObject>>.preProcess(IList<GameObject>, bool)
    ActionIn<IList<GameObject>>.runAsync()
    ActionBase.order
    ActionBase.isInRuleEngine
    ActionBase.isInToolbox
    ActionBase.Input
    ActionBase.Output
    ActionBase.helpersMethods
    ActionBase.undo
    ActionBase.isAsync
    ActionBase.updateStats
    ActionBase._isRunning
    ActionBase._stepName
    ActionBase._stepProgress
    ActionBase.IsRunning
    ActionBase.StepName
    ActionBase.StepProgress
    ActionBase.completed
    ActionBase.progressChanged
    ActionBase.executionErrors
    ActionBase.getWarnings()
    ActionBase.getInfos()
    ActionBase.onBeforeDraw()
    ActionBase.onAfterDraw()
    ActionBase.postProcess()
    ActionBase.postProcessCoroutine()
    ActionBase.Dispose()
    ActionBase.initialize()
    ActionBase.UpdateProgressBar(float, string)
    ActionBase.UpdateProgressBarCoroutine(float, string)
    ActionBase.displayNameRuleEngine
    ActionBase.displayNameToolbox
    ActionBase.invoke(object, bool)
    ActionBase.invokePreProcess(object, bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.PixyzPlugin4Unity.RuleEngine
    Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
    Syntax
    public class Delete : ActionIn<IList<GameObject>>

    Fields

    Name Description
    alsoDeleteChildren

    Specify if the action should also delete children of each element in the input

    Properties

    Name Description
    id

    Unique id of this action, generated when the file is generated

    menuPathRuleEngine

    The path used for the contextual menu in the RuleEngine

    menuPathToolbox

    The path used for the contextual menu in the Toolbox

    tooltip

    Quick description to describe the behavior of this action

    Methods

    Name Description
    getErrors()

    Check if the current context will allow the correct execution of this action

    onSelectionChanged(IList<GameObject>)

    Called when the selection in the editor changes to validated/check the new selection

    run(IList<GameObject>)

    Execute the behavior of this action by deleting all gameobject present in the input, and children if the option is enable

    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)