Archived
43 lines
648 B
C#
43 lines
648 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEditor;
|
|
|
|
using UnityEngine;
|
|
|
|
using XericLibrary.Runtime.Type;
|
|
|
|
using static UnityEngine.GraphicsBuffer;
|
|
|
|
namespace XericLibrary.Runtime.Generation
|
|
{
|
|
/// <summary>
|
|
/// 创建楼梯
|
|
/// </summary>
|
|
public class StairsGenerate : BaseGenerate<StairsGeneration>
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
[CustomEditor(typeof(StairsGenerate))]
|
|
public class ButtonUIGuideEditor : BaseGenerateEditor
|
|
{
|
|
public override void OnInspectorGUI()
|
|
{
|
|
base.OnInspectorGUI();
|
|
|
|
// 在Inspector窗口上显示按钮
|
|
if(GUILayout.Button("静态浏览"))
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
} |