WXMC/.svn/pristine/09/0940a4f983b5872fe2ee4bdda2f32a43b9e41d82.svn-base
2024-12-04 16:18:46 +08:00

23 lines
453 B
Plaintext

using UnityEngine;
using System.Collections;
public class UISettings : MonoBehaviour
{
public Board board;
public PopupOpener settingsPopup;
public void SettingsClick()
{
if (board.state == GAME_STATE.WAITING_USER_SWAP)
{
AudioManager.instance.ButtonClickAudio();
settingsPopup.OpenPopup();
board.state = GAME_STATE.OPENING_POPUP;
// ads
}
}
}