docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class BindingsGroup

    Container class for IEvent bindings. Helps unbind or clear bindings in bulk.

    Inheritance
    object
    BindingsGroup
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.XR.CoreUtils.Bindings
    Assembly: solution.dll
    Syntax
    public class BindingsGroup

    Methods

    Name Description
    AddBinding(IEventBinding)

    Register binding to group

    Bind()

    Triggers binding action on all registered bindings.

    Clear()

    Triggers unbind action on all bindings and destroys all stored binding actions, as well as clears the group of all registered bindings.

    ClearBinding(IEventBinding)

    Clear a specific binding and remove it from the binding group.

    Unbind()

    Triggers unbind action all registered bindings without clearing them.

    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)