This commit is contained in:
2025-05-13 03:19:28 +03:00
parent e2847b060d
commit 762dcf4524
784 changed files with 542617 additions and 2 deletions
@@ -0,0 +1,19 @@
using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomEditor(typeof(Plot3D))]
public class Plot3DEditor : Editor
{
public override void OnInspectorGUI()
{
var plot = (Plot3D) target;
base.OnInspectorGUI();
if(GUILayout.Button("Rebuild"))
{
plot.UpdateMesh();
}
}
}