modular-avatar/Editor/Inspector/WorldFixedObjectEditor.cs

22 lines
570 B
C#
Raw Normal View History

2023-09-24 15:59:02 +08:00
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();
}
}
}