Meta SDK2 Beta  2.7.0
Meta.MetaLocalizationSettings Class Reference

To be attached to any gameObject in a Scene containing the meta2 gameObject. This script allows the user to select from a drop-down menu the localizer to be used. More...

Inheritance diagram for Meta.MetaLocalizationSettings:
Meta.MetaBehaviour Meta.BaseMetaBehaviour< IMetaContext >

Public Member Functions

void Start ()
 
List< Type > GetLocalizationTypes ()
 Gets a list of all class types that are descendants of the interface 'ILocalizer' More...
 
ILocalizer GetAssignedLocalizer ()
 Get the localizer assigned as a component More...
 
void AssignLocalizationType (Type localizationType)
 Assigns the localization type as a component member of the GameObject More...
 

Additional Inherited Members

- Properties inherited from Meta.BaseMetaBehaviour< IMetaContext >
metaContext [get]
 Contains references to modules used to provide Meta functionality in the scene. More...
 

Detailed Description

To be attached to any gameObject in a Scene containing the meta2 gameObject. This script allows the user to select from a drop-down menu the localizer to be used.

Member Function Documentation

◆ AssignLocalizationType()

void Meta.MetaLocalizationSettings.AssignLocalizationType ( Type  localizationType)
inline

Assigns the localization type as a component member of the GameObject

Parameters
localizationType

◆ GetAssignedLocalizer()

ILocalizer Meta.MetaLocalizationSettings.GetAssignedLocalizer ( )
inline

Get the localizer assigned as a component

Returns

◆ GetLocalizationTypes()

List<Type> Meta.MetaLocalizationSettings.GetLocalizationTypes ( )
inline

Gets a list of all class types that are descendants of the interface 'ILocalizer'

Returns
List of Type, which contains all the types descending from ILocalizer

◆ Start()

void Meta.MetaLocalizationSettings.Start ( )
inline