コード例 #1
0
        static void Prefix(int id, WindowFunction func, GUIContent title)
        {
            IMGUIBlocker.BlockIfConfigured(func, id);
            IMGUIPluginTranslationHooks.HookIfConfigured(func);

            AutoTranslationPlugin.Current.Hook_TextChanged(title, false);
        }
コード例 #2
0
        static void Prefix(int id, WindowFunction func, GUIContent title)
        {
            if (Settings.BlacklistedIMGUIPlugins.Count > 0)
            {
                IMGUIBlocker.BlockIfConfigured(func.Method, id);
            }

            if (!IMGUIHooks.HooksOverriden)
            {
                AutoTranslationPlugin.Current.Hook_TextChanged(title, false);
            }
        }