C# Class GUIHandler, RPGQuest

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: hughrogers/RPGQuest Class Usage Examples

Public Methods

Method Description
AddBattleTextSprite ( BattleText, bt ) : void
AddDPSprite ( DialoguePosition, dp ) : DPSprite,
AddDragSprite ( ChoiceContent, cc ) : DragSprite,
AddHUDSprite ( HUD, hud ) : void
AddImageSprite ( Texture2D t, Rect, b ) : ImageSprite,
AddScreenFadeSprite ( ScreenFader, sf ) : void
AddSprite ( BaseSprite, sprite ) : BaseSprite,
ClickOnGUI ( Vector2, mousePosition ) : BaseSprite,
FocusSprite ( BaseSprite, focus ) : void
GetMaterial ( ) : Material,
GetScreenRatio ( ) : Vector2,
RemoveSprite ( BaseSprite, del ) : void
SetMaterial ( Material, m ) : void
UpdateGUISize ( ) : void
WorldToScreenPoint ( Vector3, pos ) : Vector2,

Private Methods

Method Description
Awake ( ) : void
LateUpdate ( ) : void
Start ( ) : void

Method Details

AddBattleTextSprite() public method

public AddBattleTextSprite ( BattleText, bt ) : void
bt BattleText,
return void

AddDPSprite() public method

public AddDPSprite ( DialoguePosition, dp ) : DPSprite,
dp DialoguePosition,
return DPSprite,

AddDragSprite() public method

public AddDragSprite ( ChoiceContent, cc ) : DragSprite,
cc ChoiceContent,
return DragSprite,

AddHUDSprite() public method

public AddHUDSprite ( HUD, hud ) : void
hud HUD,
return void

AddImageSprite() public method

public AddImageSprite ( Texture2D t, Rect, b ) : ImageSprite,
t Texture2D
b Rect,
return ImageSprite,

AddScreenFadeSprite() public method

public AddScreenFadeSprite ( ScreenFader, sf ) : void
sf ScreenFader,
return void

AddSprite() public method

public AddSprite ( BaseSprite, sprite ) : BaseSprite,
sprite BaseSprite,
return BaseSprite,

ClickOnGUI() public method

public ClickOnGUI ( Vector2, mousePosition ) : BaseSprite,
mousePosition Vector2,
return BaseSprite,

FocusSprite() public method

public FocusSprite ( BaseSprite, focus ) : void
focus BaseSprite,
return void

GetMaterial() public method

public GetMaterial ( ) : Material,
return Material,

GetScreenRatio() public method

public GetScreenRatio ( ) : Vector2,
return Vector2,

RemoveSprite() public method

public RemoveSprite ( BaseSprite, del ) : void
del BaseSprite,
return void

SetMaterial() public method

public SetMaterial ( Material, m ) : void
m Material,
return void

UpdateGUISize() public method

public UpdateGUISize ( ) : void
return void

WorldToScreenPoint() public method

public WorldToScreenPoint ( Vector3, pos ) : Vector2,
pos Vector3,
return Vector2,