This commit is contained in:
2025-05-13 05:25:23 +03:00
parent dd7defe16f
commit 0300eaeaa0
56 changed files with 1264 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
using UnityEngine;
using UnityEditor;
using System.Collections;
[CustomEditor(typeof(TreeGenerator))]
public class TreeGeneratorEditor : Editor {
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
if (GUILayout.Button("Generate"))
{
(target as TreeGenerator).Generate();
}
}
}