yyl
2025-09-01 ee032c35c49d47daba2dee1580b3abbe59d59bd8
Main/System/Battle/UIComp/BattleTips.cs
@@ -10,12 +10,7 @@
    public float showTime = 0.4f;
    public float timer = 0f;
    protected RectTransform rectTransform;
    void Awake()
    {
        rectTransform = gameObject.AddMissingComponent<RectTransform>();
    }
    public RectTransform rectTransform;
    public Text tipText;
@@ -33,6 +28,9 @@
    //  不要使用update
    public void Run()
    {
        if (!gameObject.activeSelf)
            return;
        if (timer >= showTime)
        {
            OnFinish?.Invoke();