TipBulletNumber.cs 369 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class TipBulletNumber : MonoBehaviour
  6. {
  7. [SerializeField] Text outText;
  8. // Start is called before the first frame update
  9. IEnumerator Start()
  10. {
  11. yield return new WaitForSecondsRealtime(3.0f);
  12. Destroy(this.gameObject);
  13. }
  14. }