C# Class AlertManager, twitchPickTool

Inheritance: MonoBehaviour
Show file Open project: DanielSnd/twitchPickTool Class Usage Examples

Public Properties

Property Type Description
mCanvasRect UnityEngine.RectTransform
messagesMiddle List
messagesRandom List
messagesTop List
messagesWorld List
prefab alertMessage,

Public Methods

Method Description
Alert ( string text, Type, type = Type.Top, float duration = 1.4f, float r = 1, float g = 1, float b = 1, float scale = 1 ) : void
AlertWorld ( string text, Transform posFollower, Color messageColor, float duration = 1.4f, float scale = 1 ) : void
AlertWorld ( string text, Vector3 worldPos, Color messageColor, float duration = 1.4f, float scale = 1 ) : void
Awake ( ) : void
ClearAll ( ) : void
doClearAll ( ) : void
removeFromList ( alertMessage, theMessage, Type, type ) : void

Method Details

Alert() public static method

public static Alert ( string text, Type, type = Type.Top, float duration = 1.4f, float r = 1, float g = 1, float b = 1, float scale = 1 ) : void
text string
type Type,
duration float
r float
g float
b float
scale float
return void

AlertWorld() public static method

public static AlertWorld ( string text, Transform posFollower, Color messageColor, float duration = 1.4f, float scale = 1 ) : void
text string
posFollower Transform
messageColor Color
duration float
scale float
return void

AlertWorld() public static method

public static AlertWorld ( string text, Vector3 worldPos, Color messageColor, float duration = 1.4f, float scale = 1 ) : void
text string
worldPos Vector3
messageColor Color
duration float
scale float
return void

Awake() public method

public Awake ( ) : void
return void

ClearAll() public static method

public static ClearAll ( ) : void
return void

doClearAll() public method

public doClearAll ( ) : void
return void

removeFromList() public method

public removeFromList ( alertMessage, theMessage, Type, type ) : void
theMessage alertMessage,
type Type,
return void

Property Details

mCanvasRect public property

public RectTransform,UnityEngine mCanvasRect
return UnityEngine.RectTransform

messagesMiddle public property

public List messagesMiddle
return List

messagesRandom public property

public List messagesRandom
return List

messagesTop public property

public List messagesTop
return List

messagesWorld public property

public List messagesWorld
return List

prefab public property

public alertMessage, prefab
return alertMessage,