Fix splash text size
This commit is contained in:
@@ -16,6 +16,7 @@ public class BouncyText : MonoBehaviour
|
||||
text = GetComponent<TextMeshProUGUI>();
|
||||
if (add)
|
||||
{
|
||||
text.ForceMeshUpdate();
|
||||
startSize = text.fontSize;
|
||||
text.enableAutoSizing = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user