Version: 2017.2
public float GetPreferredWidth (string str, TextGenerationSettings settings);

파라미터

str Generation text.
settings Settings for generation.

반환

float Preferred width.

설명

Given a string and settings, returns the preferred width for a container that would hold this text.