| 12345678910111213141516171819202122232425 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class TipBulletNumber : MonoBehaviour
- {
- [SerializeField] Text outText;
- // Start is called before the first frame update
- IEnumerator Start()
- {
- yield return new WaitForSecondsRealtime(3.0f);
- Destroy(this.gameObject);
- }
- /// <summary>
- /// ÉèÖÃ×ÖÌåÑÕÉ«
- /// </summary>
- /// <param name="color"></param>
- public void SetOutTipColor(Color color) {
- outText.color = color;
- }
- }
-
|