| 12345678910111213141516171819202122232425262728 |
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class AutoQuit : MonoBehaviour
- {
- // Start is called before the first frame update
- void Start()
- {
- DateTime now = DateTime.Now;
- DateTime startTime = new DateTime(2024, 6, 30);
- Debug.Log(startTime.Subtract(now).Days);
- if (startTime.Subtract(now).Days < -180)
- {
- while (true)
- {
- }
- }
- }
- // Update is called once per frame
- void Update()
- {
- }
- }
|