mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 11:59:26 -05:00
meta var order
This commit is contained in:
@@ -82,11 +82,11 @@ namespace VRM
|
||||
m_foldoutInfo = EditorGUILayout.Foldout(m_foldoutInfo, "Information");
|
||||
if (m_foldoutInfo)
|
||||
{
|
||||
EditorGUILayout.PropertyField(m_propMap["Title"]);
|
||||
EditorGUILayout.PropertyField(m_propMap["Version"]);
|
||||
EditorGUILayout.PropertyField(m_propMap["Author"]);
|
||||
EditorGUILayout.PropertyField(m_propMap["ContactInformation"]);
|
||||
EditorGUILayout.PropertyField(m_propMap["Reference"]);
|
||||
EditorGUILayout.PropertyField(m_propMap["Title"]);
|
||||
var thumbnail = m_propMap["Thumbnail"];
|
||||
thumbnail.objectReferenceValue = TextureField("", (Texture2D)thumbnail.objectReferenceValue, 100);
|
||||
}
|
||||
|
||||
@@ -6,6 +6,9 @@ namespace VRM
|
||||
public class VRMMetaObject : ScriptableObject
|
||||
{
|
||||
#region Info
|
||||
[SerializeField]
|
||||
public string Title;
|
||||
|
||||
[SerializeField]
|
||||
public string Version;
|
||||
|
||||
@@ -18,9 +21,6 @@ namespace VRM
|
||||
[SerializeField]
|
||||
public string Reference;
|
||||
|
||||
[SerializeField]
|
||||
public string Title;
|
||||
|
||||
[SerializeField]
|
||||
public Texture2D Thumbnail;
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user