Answers for "c# unity get lines"

C#
1

c# unity get lines

//Gameobject has to be active (Displayed)
//otherwise it will return the value from the last active frame (0)!
Canvas.ForceUpdateCanvases();
[Your Text Compontent].cachedTextGenerator.lineCount;
Posted by: Guest on September-08-2020

C# Answers by Framework

Browse Popular Code Answers by Language