using System.Collections; using System.Collections.Generic; using UnityEngine; public class UpdateControl : MonoBehaviour { public void updateApp() { Application.Quit(); } public void DontUpdate() { GameObject update = gameObject; Destroy(update); } }