C# Class GUITextSpawner, unity-game-kappakiwi

Afficher le fichier Open project: clee842/unity-game-kappakiwi Class Usage Examples

Méthodes publiques

Méthode Description
ClearAll ( ) : void
ClearText ( GameObject guiText ) : void
ClearText ( string text ) : void
GUITextSpawner ( ) : UnityEngine
SetDefaultSettings ( string text, Vector2 coordinates, int fontSize, Font font, FontStyle, style, Color color ) : void
SpawnNew ( string text ) : GameObject
SpawnNew ( string text, Vector2 coordinates, int fontSize, string fontName, FontStyle, style, Color color ) : GameObject
SpawnNew ( string text, int lineCharWidth, Vector2 coordinates, int fontSize, string fontName, FontStyle, style, Color color ) : GameObject

Method Details

ClearAll() public méthode

public ClearAll ( ) : void
Résultat void

ClearText() public méthode

public ClearText ( GameObject guiText ) : void
guiText GameObject
Résultat void

ClearText() public méthode

public ClearText ( string text ) : void
text string
Résultat void

GUITextSpawner() public méthode

public GUITextSpawner ( ) : UnityEngine
Résultat UnityEngine

SetDefaultSettings() public méthode

public SetDefaultSettings ( string text, Vector2 coordinates, int fontSize, Font font, FontStyle, style, Color color ) : void
text string
coordinates Vector2
fontSize int
font Font
style FontStyle,
color Color
Résultat void

SpawnNew() public méthode

public SpawnNew ( string text ) : GameObject
text string
Résultat GameObject

SpawnNew() public méthode

public SpawnNew ( string text, Vector2 coordinates, int fontSize, string fontName, FontStyle, style, Color color ) : GameObject
text string
coordinates Vector2
fontSize int
fontName string
style FontStyle,
color Color
Résultat GameObject

SpawnNew() public méthode

public SpawnNew ( string text, int lineCharWidth, Vector2 coordinates, int fontSize, string fontName, FontStyle, style, Color color ) : GameObject
text string
lineCharWidth int
coordinates Vector2
fontSize int
fontName string
style FontStyle,
color Color
Résultat GameObject