using System.Collections; using System.Collections.Generic; using UnityEngine; public class mode_change : MonoBehaviour { public bool Á·Ï°Ä£Ê½ = true; // Start is called before the first frame update void Start() { DontDestroyOnLoad(gameObject); } // Update is called once per frame void Update() { } public void modechange(bool change) { Á·Ï°Ä£Ê½ = change; } }