Fix ref usage warnings with in-parameters
This commit is contained in:
@@ -188,7 +188,7 @@ namespace FlaxEngine.GUI
|
||||
var font = textBlock.Style.Font.GetFont();
|
||||
if (!font)
|
||||
return;
|
||||
var lines = font.ProcessText(_text, ref textBlock.Range);
|
||||
var lines = font.ProcessText(_text, textBlock.Range);
|
||||
if (lines == null || lines.Length == 0)
|
||||
return;
|
||||
for (int i = 0; i < lines.Length; i++)
|
||||
|
||||
Reference in New Issue
Block a user