ZoeRobotIngles/Assets/Scripts/Update/UpdateControl.cs

16 lines
297 B
C#
Raw Permalink Normal View History

2026-01-26 22:56:16 +00:00
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);
}
}