Script interface for font assets.
You can use this class to dynamically switch fonts on Text Meshes.
See Also: TextMesh.
ascent | El tamaño por defecto de la fuente. |
characterInfo | Access an array of all characters contained in the font texture. |
dynamic | Is the font a dynamic font. |
fontSize | El tamaño por defecto de la fuente. |
lineHeight | El tamaño por defecto de la fuente. |
material | The material used for the font display. |
Font | Crear una nueva fuente. |
GetCharacterInfo | Get rendering info for a specific character. |
HasCharacter | ¿Contiene esta fuente un carácter específico? |
RequestCharactersInTexture | Request characters to be added to the font texture (dynamic fonts only). |
CreateDynamicFontFromOSFont | Creates a Font object which lets you render a font installed on the user machine. |
GetMaxVertsForString | Returns the maximum number of verts that the text generator may return for a given string. |
GetOSInstalledFontNames | Get names of fonts installed on the machine. |
GetPathsToOSFonts | Gets the file paths of the fonts that are installed on the operating system. |
textureRebuilt | Set a function to be called when the dynamic font texture is rebuilt. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | El nombre del objeto. |
GetInstanceID | Devuelve el id de la instancia del objeto. |
ToString | Returns the name of the object. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | Devuelve el primer objeto activo cargado de tipo type. |
FindObjectsOfType | Devuelve una lista de todos los objetos activos cargados de tipo type. |
Instantiate | Clona el objeto original y devuelve el clon. |
bool | ¿Existe el objeto? |
operator != | Compare si dos objetos se refieren a un objeto diferente. |
operator == | Compara dos referencias de objeto para ver si se refieren al mismo objeto. |