WarningPopUpController.cs 221 B

12345678910111213
  1. using UnityEngine;
  2. public class WarningPopUpController :MonoBehaviour
  3. {
  4. private void Start()
  5. {
  6. Invoke("Active",3);
  7. }
  8. private void Active()
  9. {
  10. Destroy(gameObject);
  11. }
  12. }