mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 03:48:19 -05:00
UniGLTF/UniGLTFPreference
This commit is contained in:
25
Assets/UniGLTF/Editor/UniGLTF/UniGLTFPreference.cs
Normal file
25
Assets/UniGLTF/Editor/UniGLTF/UniGLTFPreference.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using System.Linq;
|
||||
|
||||
namespace UniGLTF
|
||||
{
|
||||
public static class UniGLTFPreference
|
||||
{
|
||||
[PreferenceItem("UniGLTF")]
|
||||
private static void OnPreferenceGUI()
|
||||
{
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
// language
|
||||
M17N.LanguageGetter.OnGuiSelectLang();
|
||||
EditorGUILayout.HelpBox($"UniGLTF, UniVRM custom editor language setting", MessageType.Info, true);
|
||||
|
||||
// default axis
|
||||
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/UniGLTF/Editor/UniGLTF/UniGLTFPreference.cs.meta
Normal file
11
Assets/UniGLTF/Editor/UniGLTF/UniGLTFPreference.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 08fd3e6c59bc903468e139f9e46684b1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user