mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-11 21:14:19 -05:00
meta var order
This commit is contained in:
parent
e89655d2aa
commit
aefb95855a
|
|
@ -44,11 +44,11 @@ namespace VRM
|
|||
return UssageLicense.Disallow;
|
||||
}
|
||||
}
|
||||
public string title;
|
||||
public string version;
|
||||
public string author;
|
||||
public string contactInformation;
|
||||
public string reference;
|
||||
public string title;
|
||||
public int texture = -1;
|
||||
|
||||
#region Ussage Permission
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user