docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method RemoveStartingInteractionOverride

    RemoveStartingInteractionOverride(Object, Object)

    Removes overrideGroupMember from the list of Group members that are to be added as interaction overrides for sourceGroupMember on Awake.

    Declaration
    public bool RemoveStartingInteractionOverride(Object sourceGroupMember, Object overrideGroupMember)
    Parameters
    Type Name Description
    Object sourceGroupMember

    The Group member whose interaction can no longer be overridden by overrideGroupMember.

    Object overrideGroupMember

    The Group member to remove as a possible interaction override.

    Returns
    Type Description
    bool

    Returns true if overrideGroupMember was removed from the list of potential overrides for sourceGroupMember. Otherwise, returns false if overrideGroupMember was not part of the list.

    Remarks

    Use RemoveInteractionOverrideForGroupMember(IXRGroupMember, IXRGroupMember) to remove from the interaction overrides used after Awake.

    See Also
    AddStartingInteractionOverride(Object, Object)
    RemoveInteractionOverrideForGroupMember(IXRGroupMember, IXRGroupMember)
    In This Article
    Back to top
    Copyright © 2023 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)