public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        component = (PointsContainerComponent)target;

        if (GUILayout.Button("Convert to prism"))
        {
            ConvertToPrism();
        }
    }
Esempio n. 2
0
 public void setTriangles(PointsContainerComponent component)
 {
     this.component = component;
     setTriangles();
 }