| 1234567891011121314151617 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class CountDown : MonoBehaviour
- {
- private void OnEnable()
- {
- Invoke("Down", 1);
- }
- void Down()
- {
- Destroy(gameObject);
- }
- }
|