예제 #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 (logWindow != null)
        {
            logWindow.InitWindowTitle();
        }

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

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