From f44f7df16e9f510c21aadee1d9f08e29a3bb415e Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 26 九月 2024 14:49:27 +0800
Subject: [PATCH] 0312 HttpWebRequest请求CDN资源改用UnityWebRequest
---
Assets/Editor/Tool/PrefabCreateTool.cs | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/Assets/Editor/Tool/PrefabCreateTool.cs b/Assets/Editor/Tool/PrefabCreateTool.cs
index cc0fe46..319c17d 100644
--- a/Assets/Editor/Tool/PrefabCreateTool.cs
+++ b/Assets/Editor/Tool/PrefabCreateTool.cs
@@ -6,7 +6,7 @@
using UnityEditor;
using System.Collections;
using UnityEngine.UI;
-using Snxxz.UI;
+using vnxbqy.UI;
public class PrefabCreateTool
@@ -115,6 +115,13 @@
SetParent(button);
}
+ [MenuItem("GameObject/UI/绾㈢偣")]
+ public static void CreateRedPoint()
+ {
+ var button = UIUtility.CreateWidget("RedPoint", "RedPoint");
+ SetParent(button);
+ }
+
[MenuItem("GameObject/UI/SecondFrameLoad")]
public static void CreateSecondFrameLoad()
{
--
Gitblit v1.8.0