コード例 #1
0
        // called when you change editor language
        public void ResetWindowTitles()
        {
            if (toolWindow != null)
            {
                toolWindow.InitWindowTitle();
            }

            if (fsmSelectorWindow != null)
            {
                fsmSelectorWindow.InitWindowTitle();
            }

            if (stateSelectorWindow != null)
            {
                stateSelectorWindow.InitWindowTitle();
            }

            if (actionWindow != null)
            {
                actionWindow.InitWindowTitle();
            }

            if (globalEventsWindow != null)
            {
                globalEventsWindow.InitWindowTitle();
            }

            if (globalVariablesWindow != null)
            {
                globalVariablesWindow.InitWindowTitle();
            }

            if (errorWindow != null)
            {
                errorWindow.InitWindowTitle();
            }

            if (timelineWindow != null)
            {
                timelineWindow.InitWindowTitle();
            }

            if (logWindow != null)
            {
                logWindow.InitWindowTitle();
            }

            if (reportWindow != null)
            {
                reportWindow.InitWindowTitle();
            }

            if (fsmTemplateWindow != null)
            {
                fsmTemplateWindow.InitWindowTitle();
            }
        }