From e0a20bb3b11d6c955008cf04d187e685d99446c2 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 06 一月 2025 02:29:52 +0800
Subject: [PATCH] 0312 textex文本增加背景底的变化
---
Assets/Editor/Tool/PrefabCreateTool.cs | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Assets/Editor/Tool/PrefabCreateTool.cs b/Assets/Editor/Tool/PrefabCreateTool.cs
index 0f11f69..4444203 100644
--- a/Assets/Editor/Tool/PrefabCreateTool.cs
+++ b/Assets/Editor/Tool/PrefabCreateTool.cs
@@ -87,6 +87,7 @@
{
var instance = new GameObject("UIEffect");
instance.AddComponent<UIEffect>();
+ instance.AddComponent<RectTransform>();
SetParent(instance);
}
--
Gitblit v1.8.0