Beispiel #1
0
 public void Test_TestTextAssetSizeAdvanceCalc()
 {
     ExampleText.text = TestTextAsset.text;
     TextLengthCalcHelper.SetTextConfig(ExampleText);
     VeerDebug.Log("Test_TestTextAssetSizeAdvanceCalc : " + TextLengthCalcHelper.CalculateLengthAdvance(TestTextAsset.text));
 }
Beispiel #2
0
 public void Test_TestTextAssetSize()
 {
     ExampleText.text = TestTextAsset.text;
     TextLengthCalcHelper.SetTextConfig(ExampleText);
     VeerDebug.Log("Test_TestTextAssetSize : " + TextLengthCalcHelper.CalculatePreferredSize(TestTextAsset.text));
 }