| 1234567891011121314151617181920212223242526272829 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class SetUpView : MonoBehaviour
- {
-
- public void Quit()
- {
- AudioMgr.ins.PlayBtn();
- Application.Quit();
- }
- public void CheckBox(GameObject checkBox) {
- checkBox.SetActive(!checkBox.activeSelf);
- if (checkBox.name.StartsWith("Effect")) {
- AudioMgr.openEffect = checkBox.activeSelf;
- }
- else if (checkBox.name.StartsWith("BGM")) {
-
- }
- AudioMgr.ins.PlayBtn();
- }
- public void Back() {
- AudioMgr.ins.PlayBtn();
- Destroy(this.gameObject);
- }
- }
|