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