Language
Edit

DataCollectionEventsGOBase Class

Definition

virtual base GameObject class that makes it possible to create subclasses that are "drag and droppable" via the Unity Editor inspector and can be added as a component to other game objects.

This is structured in this manner so that the IDataCollectionEvents can be engine agnostic.

This base class makes it possible to add a Unity Editor inspector property onto any monobehaviour that can accept any subclass of this class. Each subclass can offer a different subset (or all) UnityEvents that trigger these "event" method calls.

[UnityEngine.AddComponentMenu("MRTK/Data Binding/Data Collection Events Base")]
public class DataCollectionEventsGOBase : UnityEngine.MonoBehaviour, MixedReality.Toolkit.Data.IDataCollectionEvents
[<UnityEngine.AddComponentMenu("MRTK/Data Binding/Data Collection Events Base")>]
type DataCollectionEventsGOBase = class
    inherit MonoBehaviour
    interface IDataCollectionEvents
Public Class DataCollectionEventsGOBase
Inherits MonoBehaviour
Implements IDataCollectionEvents
Inheritance
UnityEngine.MonoBehaviour
DataCollectionEventsGOBase
Derived
Attributes
UnityEngine.AddComponentMenuAttribute
Implements

Constructors

Name Description
DataCollectionEventsGOBase()

Methods

Name Description
OnAttach()
OnCollectionAtEnd()

Collection scrolled/paged to end of list

OnCollectionAtStart()

Collection scrolled/paged to start of list

OnCollectionCanGoBackward()

It is currently possible to scroll backwards.

OnCollectionCanGoForward()

It is currently possible to scroll forward.

OnCollectionContextSwitch()

Collection contents completely replaced

OnCollectionEmpty()

Collection contents transitioned to empty set

OnCollectionInMiddle()

Collection is scrolled to the middle and is neither at the start or the end.

OnCollectionNotEmpty()

Collection contents transitioned from empty to not empty

OnCollectionPagedBackward()

Collection was paged backward towards start of list

OnCollectionPagedForward()

Collection was paged forward towards end of list

OnCollectionScrolledBackward()

Collection was scrolled backwards towards start of list

OnCollectionScrolledForward()

Collection was scrolled forward towards end of list

OnDetach()
OnEndCollectionChange()

Collection contents have finished changing

OnEndPlacement()

A set of item placements has ended.

OnItemPlaced()

One item placement has just occurred.

OnStartCollectionChange()

Collection contents are about to change

OnStartPlacement()

Applies to