From 680625ac8acfc01a2d448532553842bf975ae0ce Mon Sep 17 00:00:00 2001 From: "r.nikolin" Date: Wed, 1 Nov 2023 16:01:24 +0300 Subject: [PATCH] Fix speed text --- Assets/Scripts/SpeedText.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/SpeedText.cs b/Assets/Scripts/SpeedText.cs index 52b8395b..d3f9985f 100644 --- a/Assets/Scripts/SpeedText.cs +++ b/Assets/Scripts/SpeedText.cs @@ -7,6 +7,6 @@ public class SpeedText : UITextDisplayBase protected override void Awake() { base.Awake(); - _textChanger = FindObjectOfType(); + _textChanger = FindObjectOfType().GetComponent(); } }