From 822513a5dff92368ef8dfe5d12a3544b67bd747a Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 14 二月 2025 02:55:12 +0800
Subject: [PATCH] 0312 还原
---
Assets/Editor/Tool/FormatPrefabTool.cs | 24 +-----------------------
1 files changed, 1 insertions(+), 23 deletions(-)
diff --git a/Assets/Editor/Tool/FormatPrefabTool.cs b/Assets/Editor/Tool/FormatPrefabTool.cs
index 0066869..8519b6b 100644
--- a/Assets/Editor/Tool/FormatPrefabTool.cs
+++ b/Assets/Editor/Tool/FormatPrefabTool.cs
@@ -4,7 +4,7 @@
using UnityEditor;
using UnityEngine.UI;
using System.IO;
-using Snxxz.UI;
+using vnxbqy.UI;
using System;
public static class FormatPrefabTool
@@ -277,28 +277,6 @@
if (_item.stateIcon != null)
{
PasteImage(_item.stateIcon, _source.image);
- }
- break;
- case ItemCellComType.Star:
- if (_item.starlist != null)
- {
- PasteRectTransform(_item.starlist.transform as RectTransform, _source.transform);
- int _index = 0;
- foreach (RectTransform _rect in _item.starlist.transform)
- {
- if (_index >= _source.stars.Count)
- {
- break;
- }
- PasteImage(_rect.GetComponent<Image>(), _source.stars[_index]);
- _index++;
- }
- }
- break;
- case ItemCellComType.Lock:
- if (_item.bindIcon != null)
- {
- PasteImage(_item.bindIcon, _source.image);
}
break;
case ItemCellComType.Reduce:
--
Gitblit v1.8.0