ZoeRobotIngles/Assets/Scripts/Update/UpdateControl.cs

16 lines
297 B
C#

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);
}
}