C# Class GUITextSpawner, unity-game-kappakiwi

显示文件 Open project: clee842/unity-game-kappakiwi Class Usage Examples

Public Methods

Method 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 method

public ClearAll ( ) : void
return void

ClearText() public method

public ClearText ( GameObject guiText ) : void
guiText GameObject
return void

ClearText() public method

public ClearText ( string text ) : void
text string
return void

GUITextSpawner() public method

public GUITextSpawner ( ) : UnityEngine
return UnityEngine

SetDefaultSettings() public method

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
return void

SpawnNew() public method

public SpawnNew ( string text ) : GameObject
text string
return GameObject

SpawnNew() public method

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
return GameObject

SpawnNew() public method

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
return GameObject