From 249c2184d4e72f2f8a40ac9a156bf54849d0e191 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期日, 14 九月 2025 22:42:22 +0800
Subject: [PATCH] 0312 调整目录支持launch
---
/dev/null | 11 -----------
Main/System/HeroUI/GiftBaseCell.cs | 16 ++++++++--------
2 files changed, 8 insertions(+), 19 deletions(-)
diff --git a/Main/Component/UI/Common/FrameEffect.cs b/Main/Component/UI/Common/FrameEffect.cs
deleted file mode 100644
index c062673..0000000
--- a/Main/Component/UI/Common/FrameEffect.cs
+++ /dev/null
@@ -1,95 +0,0 @@
-锘�//--------------------------------------------------------
-// [Author]: 鐜╀釜娓告垙
-// [ Date ]: Sunday, December 10, 2017
-//--------------------------------------------------------
-using UnityEngine;
-using System.Collections;
-using UnityEngine.UI;
-using System;
-
-
- public class FrameEffect : MonoBehaviour
- {
- [SerializeField] Image m_Behaviour;
- [SerializeField] Sprite[] m_Sprites;
-
- float interval = 0.1f;
- int index = 0;
- float timer = 0f;
- float tempSumTime = 1f;
-
- [SerializeField] float onceTime = 1f;
- [SerializeField] float sumTime = 1f;
- [SerializeField] int aniIndex = 0;
- public bool loop = true;
-
- public event Action<int> CompleteAct;
-
- private void OnEnable()
- {
- if (m_Sprites != null && m_Sprites.Length > 0)
- {
- interval = onceTime / m_Sprites.Length;
- index = 0;
- timer = 0f;
- tempSumTime = sumTime;
-
- m_Behaviour.overrideSprite = m_Sprites[index];
- }
- }
-
- private void LateUpdate()
- {
- timer += Time.deltaTime;
- tempSumTime -= Time.deltaTime;
-
- if (m_Sprites == null || m_Sprites.Length == 0)
- {
- return;
- }
-
- if(tempSumTime > 0)
- {
- if (timer > interval)
- {
- m_Behaviour.overrideSprite = m_Sprites[index];
- index = (++index) % m_Sprites.Length;
- timer -= interval;
- }
- }
- else
- {
- if(loop)
- {
- tempSumTime = sumTime;
- }
-
- if(CompleteAct != null)
- {
- CompleteAct(aniIndex);
- }
- }
- }
-
- public void SetSprites(Sprite[] sprites,float _totalTime)
- {
- m_Sprites = sprites;
- onceTime = _totalTime;
- sumTime = _totalTime;
- if (m_Sprites != null && m_Sprites.Length > 0)
- {
- interval = onceTime / m_Sprites.Length;
- index = 0;
- timer = 0f;
- tempSumTime = sumTime;
-
- m_Behaviour.sprite = m_Sprites[index];
- m_Behaviour.overrideSprite = m_Sprites[index];
- }
- }
-
- }
-
-
-
-
diff --git a/Main/Component/UI/Common/FrameEffect.cs.meta b/Main/Component/UI/Common/FrameEffect.cs.meta
deleted file mode 100644
index 0d752df..0000000
--- a/Main/Component/UI/Common/FrameEffect.cs.meta
+++ /dev/null
@@ -1,12 +0,0 @@
-fileFormatVersion: 2
-guid: 34be87e10df140447985e4dd33c62ed8
-timeCreated: 1512874078
-licenseType: Pro
-MonoImporter:
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Main/System/HeroUI/GiftBaseCell.cs b/Main/System/HeroUI/GiftBaseCell.cs
index 2e6eee9..cf7b6cc 100644
--- a/Main/System/HeroUI/GiftBaseCell.cs
+++ b/Main/System/HeroUI/GiftBaseCell.cs
@@ -220,23 +220,23 @@
{
if (quality == 1)
{
- //1D0029
- return new Color32(29, 0, 41, 128);
+ //692088
+ return new Color32(105, 32, 136, 128);
}
else if (quality == 2)
{
- //372300
- return new Color32(55, 35, 0, 128);
+ //886220
+ return new Color32(136, 98, 32, 128);
}
else if (quality == 3)
{
- //3A1800
- return new Color32(58, 24, 0, 128);
+ //884a20
+ return new Color32(136, 74, 32, 128);
}
else if (quality == 4)
{
- //3A0000
- return new Color32(58, 0, 0, 128);
+ //882020
+ return new Color32(136, 32, 32, 128);
}
return new Color32(0, 0, 0, 128);
}
diff --git a/Main/Utility/DontDestroyOnLoad.cs b/Main/Utility/DontDestroyOnLoad.cs
deleted file mode 100644
index 1ab866d..0000000
--- a/Main/Utility/DontDestroyOnLoad.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-public class DontDestroyOnLoad : MonoBehaviour
-{
- void Awake()
- {
- DontDestroyOnLoad(gameObject);
- }
-}
diff --git a/Main/Utility/DontDestroyOnLoad.cs.meta b/Main/Utility/DontDestroyOnLoad.cs.meta
deleted file mode 100644
index d8483e0..0000000
--- a/Main/Utility/DontDestroyOnLoad.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: ebddc3e48e1baa844a56615981c5c152
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
--
Gitblit v1.8.0