fix:1、添加项目

This commit is contained in:
2026-04-22 09:52:55 +08:00
commit 173cfb2dc9
5871 changed files with 600870 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
using System.Collections;
using System.Collections.Generic;
using FlowerPower;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class gemCrush : MonoBehaviour
{
public GameObject bg;
public void setGemBackground(string alp)
{
int a = int.Parse(alp);
Color cl = bg.GetComponent<Image>().color;
cl.a = a;
//bg为游戏背景图片
bg.GetComponent<Image>().color = cl;
}
}