This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

16 lines
241 B
C#
Raw Permalink Normal View History

2025-02-24 12:12:52 +09:00
using UnityEngine;
using System.Collections;
public class ApplicationManager : MonoBehaviour {
public void Quit ()
{
#if UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#else
Application.Quit();
#endif
}
}