UnityEditor.EditorUtility.Internal_UpdateMenuTitleForLanguage C# (CSharp) Méthode

Internal_UpdateMenuTitleForLanguage() private méthode

private Internal_UpdateMenuTitleForLanguage ( SystemLanguage newloc ) : void
newloc SystemLanguage
Résultat void
        internal static extern void Internal_UpdateMenuTitleForLanguage(SystemLanguage newloc);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

Exemple #1
0
 internal static void NotifyLanguageChanged(SystemLanguage newLanguage)
 {
     s_TextGUIContents = new Hashtable();
     EditorUtility.Internal_UpdateMenuTitleForLanguage(newLanguage);
     LocalizationDatabase.SetCurrentEditorLanguage(newLanguage);
     EditorApplication.RequestRepaintAllViews();
 }
EditorUtility