private void Update() { if (TipShown) { if (ShowTipTimer > 0) { ShowTipTimer -= Time.deltaTime; } else { TipShown = false; SpaceTip.HideTip(); } } }
private void Update() { if (!TipHidden && TipShown) { if (ShowTipTimer > 0) { ShowTipTimer -= Time.deltaTime; } else { TipHidden = true; WASDTip.HideTip(); } } }