| 1234567891011121314151617181920212223242526 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class DebugOnDemo : MonoBehaviour
- {
- void Start()
- {
- StartCoroutine(OpenDebug());
- }
- IEnumerator OpenDebug()
- {
- yield return null;
- ScreenLocate.Main.DebugOnZIMDemo = true;
- ScreenLocate.Main.SaveToggle.isOn = true;
- }
- void Update()
- {
- if ((Input.GetKey(KeyCode.LeftControl) || Input.GetKey(KeyCode.RightControl)) && Input.GetKeyDown(KeyCode.Return))
- {
- Screen.fullScreen = !Screen.fullScreen;
- }
- }
- }
|