23 lines
510 B
C#
23 lines
510 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEditor;
|
|
using static UnityEngine.GraphicsBuffer;
|
|
|
|
[CustomEditor(typeof(SVEx))]
|
|
public class SVExEditor : Editor
|
|
{
|
|
bool run;
|
|
private void OnSceneGUI()
|
|
{
|
|
//Handles.Button(Vector3.zero, Vector3.up, 20, 20, () => { });
|
|
|
|
Handles.BeginGUI();
|
|
GUILayout.BeginArea(new Rect(50, 50, 200, 200));
|
|
GUILayout.Button("asdas");
|
|
GUILayout.EndArea();
|
|
Handles.EndGUI();
|
|
}
|
|
|
|
}
|