コード例 #1
0
        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();
        }
コード例 #2
0
 void SyncText()
 {
     text.text = LocalizationSupport.GetLocalizedString(requestString);
 }