E_ElecCompetition/Electrical_inspectionCompet.../Assets/Script/mode_change.cs

27 lines
449 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class mode_change : MonoBehaviour
{
public bool <EFBFBD><EFBFBD>ϰģʽ = 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) {
<EFBFBD><EFBFBD>ϰģʽ = change;
}
}