Method AddStartingInteractionOverride
AddStartingInteractionOverride(Object, Object)
Adds overrideGroupMember to the list of Group members that are to be added as
interaction overrides for sourceGroupMember on Awake. Both objects must already be
included in the startingGroupMembers list. The override object should implement either the
IXRSelectInteractor interface or the IXRInteractionOverrideGroup interface.
Declaration
public void AddStartingInteractionOverride(Object sourceGroupMember, Object overrideGroupMember)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | sourceGroupMember | The Group member whose interaction can be potentially overridden by
|
| Object | overrideGroupMember | The Group member to add as a possible interaction override. |
Remarks
Use AddInteractionOverrideForGroupMember(IXRGroupMember, IXRGroupMember) to add to the interaction overrides used after Awake.