UnityEditor.EditorUtility.Internal_UpdateMenuTitleForLanguage C# (CSharp) Method

Internal_UpdateMenuTitleForLanguage() private method

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

Usage Example

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