WXMC/.svn/pristine/af/afaaccc30e7b0cdf010e901385381bcbab573333.svn-base
2024-12-04 16:18:46 +08:00

35 lines
1.1 KiB
Plaintext

using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class Package : MonoBehaviour
{
public Text singleBreaker;
public Text rowBreaker;
public Text colBreaker;
public Text rainbowBreaker;
public Text ovenBreaker;
public Text beginFiveMoves;
public Text beginRainbow;
public Text beginBombBreaker;
void Start()
{
singleBreaker.text = "x" + GameData.instance.GetSingleBreaker().ToString();
rowBreaker.text = "x" + GameData.instance.GetRowBreaker().ToString();
colBreaker.text = "x" + GameData.instance.GetColumnBreaker().ToString();
rainbowBreaker.text = "x" + GameData.instance.GetRainbowBreaker().ToString();
ovenBreaker.text = "x" + GameData.instance.GetOvenBreaker().ToString();
beginFiveMoves.text = "x" + GameData.instance.GetBeginFiveMoves().ToString();
beginRainbow.text = "x" + GameData.instance.GetBeginRainbow().ToString();
beginBombBreaker.text = "x" + GameData.instance.GetBeginBombBreaker().ToString();
}
public void ButtonClickAudio()
{
AudioManager.instance.ButtonClickAudio();
}
}