mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-04 13:45:04 +08:00
22 lines
570 B
C#
22 lines
570 B
C#
|
using System;
|
|||
|
using UnityEditor;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
namespace nadena.dev.modular_avatar.core.editor
|
|||
|
{
|
|||
|
[CustomEditor(typeof(ModularAvatarWorldFixedObject))]
|
|||
|
internal class WorldFixedObjectEditor : MAEditorBase
|
|||
|
{
|
|||
|
protected override void OnInnerInspectorGUI()
|
|||
|
{
|
|||
|
#if UNITY_ANDROID
|
|||
|
EditorGUILayout.HelpBox(Localization.S("worldfixed.quest"), MessageType.Warning);
|
|||
|
|
|||
|
#else
|
|||
|
EditorGUILayout.HelpBox(Localization.S("worldfixed.normal"), MessageType.Info);
|
|||
|
#endif
|
|||
|
|
|||
|
Localization.ShowLanguageUI();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|