Handles localization related scene events and callbacks.
This is a required component as it manages the entire in-scene localization flow. It is recommended to have this object in your scene, but if no manager is present during runtime, it will be created automatically on awake.
using UnityEngine;
using Michsky.DreamOS; // DreamOS namespace
public class SampleClass : MonoBehaviour
{
[SerializeField] private LocalizationManager locManager;
void Start()
{
// Set language
LocalizationManager.instance.SetLanguage("en-US");
// Set language without notifying
LocalizationManager.SetLanguageWithoutNotify("en-US");
}
}
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.