This commit is contained in:
2025-05-13 03:12:25 +03:00
parent 9dc1ba897d
commit bd529a5210
31 changed files with 2662 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(BlackHoleRenderer))]
public class BlackHoleRendererEditor : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
if (GUILayout.Button("Recalc"))
{
(target as BlackHoleRenderer).RecalcState();
}
if (GUILayout.Button("Trace")) {
(target as BlackHoleRenderer).Trace();
}
}
}