Пример #1
0
 private void _expandText()
 {
     AnimationAssistant.ExpandRect(_rt, new Vector2(_rt.sizeDelta.x, _text.preferredHeight));
     _expanded = true;
 }
Пример #2
0
 private void _narrowText()
 {
     AnimationAssistant.ExpandRect(_rt, new Vector2(_rt.sizeDelta.x, InfoStorage.MaxDefaultTextSize));
     _expanded = false;
 }