C# Class EasyFontUtilities, UnityStbEasyFont

Afficher le fichier Open project: aras-p/UnityStbEasyFont Class Usage Examples

Méthodes publiques

Méthode Description
CalcAnchorOffset ( Mesh mesh, TextAnchor anchor ) : Vector3
CreateFontMaterial ( ) : Material
SelectAndMoveToView ( GameObject go ) : void
UpdateMesh ( Mesh &mesh, string text, Color32 color ) : void

Private Methods

Méthode Description
ReplaceBuiltinWithSimple ( ) : void

Method Details

CalcAnchorOffset() public static méthode

public static CalcAnchorOffset ( Mesh mesh, TextAnchor anchor ) : Vector3
mesh Mesh
anchor TextAnchor
Résultat Vector3

CreateFontMaterial() public static méthode

public static CreateFontMaterial ( ) : Material
Résultat Material

SelectAndMoveToView() public static méthode

public static SelectAndMoveToView ( GameObject go ) : void
go GameObject
Résultat void

UpdateMesh() public static méthode

public static UpdateMesh ( Mesh &mesh, string text, Color32 color ) : void
mesh Mesh
text string
color UnityEngine.Color32
Résultat void