Meta SDK2 Beta  2.7.0
Meta.MetaSensorUiController Class Reference

Wraps Unity-related UI and provides an interface to change the messages of the UI. More...

Inheritance diagram for Meta.MetaSensorUiController:
Meta.IMetaSensorUiController

Public Member Functions

 MetaSensorUiController ()
 Constructs the instance and sets the UI as a sibling of the transform passed. More...
 
bool IsVisible ()
 
void ChangeMessage (string message)
 Changes the sensor message More...
 
void ChangeMinorMessage (string message)
 Changes the minor sensor message More...
 
string GetMessage ()
 Gets the message: a concatenation of the major and minor messages. More...
 
void SetVisibility (bool isVisible)
 Sets the visibility of the game object with a smooth fade in/out. More...
 
void SetTitleVisibility (bool isVisible)
 Sets the visibility of the title More...
 
void Destroy ()
 Releases resources and cleans the instance. More...
 
void SetLoadingFeedback (bool showFeedback)
 

Public Attributes

const string SensorFailurePrefabName = "Prefabs/SensorFailureUi"
 

Detailed Description

Wraps Unity-related UI and provides an interface to change the messages of the UI.

Constructor & Destructor Documentation

◆ MetaSensorUiController()

Meta.MetaSensorUiController.MetaSensorUiController ( )
inline

Constructs the instance and sets the UI as a sibling of the transform passed.

Parameters
parent

Member Function Documentation

◆ ChangeMessage()

void Meta.MetaSensorUiController.ChangeMessage ( string  message)
inline

Changes the sensor message

Parameters
message

Implements Meta.IMetaSensorUiController.

◆ ChangeMinorMessage()

void Meta.MetaSensorUiController.ChangeMinorMessage ( string  message)
inline

Changes the minor sensor message

Parameters
message

Implements Meta.IMetaSensorUiController.

◆ Destroy()

void Meta.MetaSensorUiController.Destroy ( )
inline

Releases resources and cleans the instance.

Implements Meta.IMetaSensorUiController.

◆ GetMessage()

string Meta.MetaSensorUiController.GetMessage ( )
inline

Gets the message: a concatenation of the major and minor messages.

Returns

Implements Meta.IMetaSensorUiController.

◆ IsVisible()

bool Meta.MetaSensorUiController.IsVisible ( )
inline

◆ SetLoadingFeedback()

void Meta.MetaSensorUiController.SetLoadingFeedback ( bool  showFeedback)
inline

◆ SetTitleVisibility()

void Meta.MetaSensorUiController.SetTitleVisibility ( bool  isVisible)
inline

Sets the visibility of the title

Parameters
isVisibleWhether the title should be visible.

Implements Meta.IMetaSensorUiController.

◆ SetVisibility()

void Meta.MetaSensorUiController.SetVisibility ( bool  isVisible)
inline

Sets the visibility of the game object with a smooth fade in/out.

Parameters
isVisible

Implements Meta.IMetaSensorUiController.

Member Data Documentation

◆ SensorFailurePrefabName

const string Meta.MetaSensorUiController.SensorFailurePrefabName = "Prefabs/SensorFailureUi"