少年修仙传客户端基础资源
lwb
2020-12-31 a5ada95eb9b21648b94e2b6746b510bb7741c29a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using UnityEngine;
using UnityEditor;
using Snxxz.UI;
 
[CustomEditor(typeof(Window), true)]
public class WindowEditor : Editor
{
    private void OnEnable()
    {
        // SceneView.lastActiveSceneView?.RemoveNotification();
        // var safeArea = (target as Window).GetComponentInChildren<SafeAreaUI>();
        // if (safeArea == null)
        //     SceneView.lastActiveSceneView?.ShowNotification(new GUIContent("警告:当前窗口还没添加SafeAreaUI脚本"),5);
    }
 
}