mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-31 23:42:28 -05:00
mv MeshIntegrationGroup
This commit is contained in:
parent
897d6c7d07
commit
000662aeb0
15
Assets/UniGLTF/Runtime/MeshUtility/MeshIntegrationGroup.cs
Normal file
15
Assets/UniGLTF/Runtime/MeshUtility/MeshIntegrationGroup.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UniGLTF.MeshUtility
|
||||
{
|
||||
public class MeshIntegrationGroup
|
||||
{
|
||||
/// <summary>
|
||||
/// FirstPerson flag
|
||||
/// TODO: enum
|
||||
/// </summary>
|
||||
public string Name;
|
||||
public List<Renderer> Renderers = new List<Renderer>();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ae366b97d8d020245bbdb5d25df09314
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using UniGLTF.MeshUtility;
|
||||
using UnityEditor;
|
||||
using UnityEditorInternal;
|
||||
using UnityEngine;
|
||||
|
|
@ -38,7 +39,7 @@ namespace UniVRM10
|
|||
_meshUti = meshUtility;
|
||||
_splitter = new VerticalSplitter(editor, 50, 50);
|
||||
|
||||
_groupList = new ReorderableList(_meshUti.MeshIntegrationGroups, typeof(Vrm10MeshUtility.MeshIntegrationGroup));
|
||||
_groupList = new ReorderableList(_meshUti.MeshIntegrationGroups, typeof(MeshIntegrationGroup));
|
||||
_groupList.drawHeaderCallback = (Rect rect) =>
|
||||
{
|
||||
GUI.Label(rect, "Integration group");
|
||||
|
|
|
|||
|
|
@ -48,16 +48,6 @@ namespace UniVRM10
|
|||
/// </summary>
|
||||
public bool FreezeRotation = false;
|
||||
|
||||
public class MeshIntegrationGroup
|
||||
{
|
||||
/// <summary>
|
||||
/// FirstPerson flag
|
||||
/// TODO: enum
|
||||
/// </summary>
|
||||
public string Name;
|
||||
public List<Renderer> Renderers = new List<Renderer>();
|
||||
}
|
||||
|
||||
public List<MeshIntegrationGroup> MeshIntegrationGroups = new List<MeshIntegrationGroup>();
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user