home打开关闭逻辑修改调整提交

This commit is contained in:
2026-02-04 09:11:27 +08:00
parent 10c6fabd73
commit c7676793d5
36 changed files with 2023 additions and 708 deletions

View File

@@ -0,0 +1,26 @@
using UnityEditor;
using UnityEngine;
namespace NBF
{
[CustomEditor(typeof(UIBlur))]
public class UIBlurEditor : Editor
{
private UIBlur _target;
void OnEnable()
{
_target = target as UIBlur;
// lookAtPoint = serializedObject.FindProperty("lookAtPoint");
}
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
if (GUILayout.Button("Blur"))
{
_target.CaptureAndBlurOnce();
}
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: ebaa0f203943458688dac255c2ea6441
timeCreated: 1770124598