ManoMotion Unity SDK 2.0
SDK documentation
Loading...
Searching...
No Matches
ManoMotion.Demos.Recenterer Class Reference

Recenters the GameObject when enabled. Mostly used in "scenes" so that the GameObjects appears in front of the camera.

Inheritance diagram for ManoMotion.Demos.Recenterer:

Public Member Functions

void Recenter ()
 

Private Member Functions

void Awake ()
 
void OnEnable ()
 

Private Attributes

Vector3 position
 
UnityEvent OnRecenter
 

Member Function Documentation

◆ Awake()

void ManoMotion.Demos.Recenterer.Awake ( )
inlineprivate

◆ OnEnable()

void ManoMotion.Demos.Recenterer.OnEnable ( )
inlineprivate

◆ Recenter()

void ManoMotion.Demos.Recenterer.Recenter ( )
inline

Member Data Documentation

◆ OnRecenter

UnityEvent ManoMotion.Demos.Recenterer.OnRecenter
private

◆ position

Vector3 ManoMotion.Demos.Recenterer.position
private