void Awake() { if (instance != null) { Log.AddWarning("Radiac Environment replaced."); } instance = this; RadiacUpdates = () => { }; RadiacFixedUpdates = () => { }; RadiacGUICallback = () => { }; // Static initialization are placed here. LocalizationSupport.LoadLocalizationFile(); RadiacPanel.GlobalInit(); VirtualCamera.Init(); VirtualCursor.Init(); RadiacInputController.Init(); }
void SyncText() { text.text = LocalizationSupport.GetLocalizedString(requestString); }