modular-avatar/Packages/nadena.dev.modular-avatar/Editor/Inspector/WorldFixedObjectEditor.cs
2023-09-24 16:59:02 +09:00

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();
}
}
}