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); } /// /// ÉèÖÃ×ÖÌåÑÕÉ« /// /// public void SetOutTipColor(Color color) { outText.color = color; } }