MeshBaker
Public Member Functions | Protected Member Functions | List of all members
FGComponent Class Referenceabstract

Base class for any FingerGestures component Its main task is to fire off OnUpdate() after the FingerGestures.Fingers have been updated during this frame. More...

Inherits MonoBehaviour.

Inherited by FingerMotionDetector, and GestureRecognizer.

Public Member Functions

delegate void EventDelegate< T > (T source)
 

Protected Member Functions

virtual void Awake ()
 
virtual void Start ()
 
virtual void OnEnable ()
 
virtual void OnDisable ()
 
abstract void OnUpdate (FingerGestures.IFingerList touches)
 This is called after FingerGestures has updated the state of each finger More...
 

Detailed Description

Base class for any FingerGestures component Its main task is to fire off OnUpdate() after the FingerGestures.Fingers have been updated during this frame.

Member Function Documentation

§ Awake()

virtual void FGComponent.Awake ( )
protectedvirtual

§ EventDelegate< T >()

delegate void FGComponent.EventDelegate< T > ( source)
Type Constraints
T :FGComponent 

§ OnDisable()

virtual void FGComponent.OnDisable ( )
protectedvirtual

§ OnEnable()

virtual void FGComponent.OnEnable ( )
protectedvirtual

§ OnUpdate()

abstract void FGComponent.OnUpdate ( FingerGestures.IFingerList  touches)
protectedpure virtual

This is called after FingerGestures has updated the state of each finger

Parameters
touchesThe list of fingers currently down / touching the screen

Implemented in FingerMotionDetector, and GestureRecognizer.

§ Start()

virtual void FGComponent.Start ( )
protectedvirtual

The documentation for this class was generated from the following file: