Move enum ExtrudeMethod to inside MeshTool class body to avoid type name conflicts.

This commit is contained in:
karl- 2017-04-01 14:52:43 -04:00
Родитель ee7ab3d134
Коммит a395d9bee5
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -1,15 +1,15 @@
using UnityEngine; using UnityEngine;
using System.Collections.Generic; using System.Collections.Generic;
public enum ExtrudeMethod
{
Vertical,
MeshNormal
}
// Manipulation tool for displacing the vertices in a list of meshes // Manipulation tool for displacing the vertices in a list of meshes
public class MeshTool : MonoBehaviour public class MeshTool : MonoBehaviour
{ {
public enum ExtrudeMethod
{
Vertical,
MeshNormal
}
public List<MeshFilter> m_Filters = new List<MeshFilter>(); public List<MeshFilter> m_Filters = new List<MeshFilter>();
public float m_Radius = 1.5f; public float m_Radius = 1.5f;
public float m_Power = 2.0f; public float m_Power = 2.0f;