Esempio n. 1
0
 private void SetupSubmeshes(int meshes)
 {
     for (int i = submeshes.Count; i < meshes; i++)
     {
         submeshes.Add(DebugVisualVoxelSubmesh.Create(Parent, active));
     }
 }
Esempio n. 2
0
 private void SetupSubmeshes(int submeshes)
 {
     for (int i = m_submeshes.Count; i < submeshes; i++)
     {
         m_submeshes.Add(DebugVisualVoxelSubmesh.Create(m_parent, m_active));
     }
 }
 public DebugVisualVoxelMeshController(Transform parent = null)
 {
     m_parent = parent;
     m_submeshes.Add(DebugVisualVoxelSubmesh.Create(m_parent, m_active));
 }