C# Class alertMessage, twitchPickTool

Inheritance: MonoBehaviour
Afficher le fichier Open project: DanielSnd/twitchPickTool Class Usage Examples

Méthodes publiques

Свойство Type Description
followTransform Transform
followTransformDictionary List>.Dictionary
mRectTransform UnityEngine.RectTransform
ownerRectTransform UnityEngine.RectTransform
permanent bool
txt Text
type AlertManager.Type
worldPos Vector3
yOffset float

Méthodes publiques

Méthode Description
AddTransformToDictionary ( ) : void
DOFollowTransform ( ) : IEnumerator
DOFollowWorld ( ) : IEnumerator
Disappear ( float timeToDisappear ) : IEnumerator
NudgeOlderMessagesOnTransform ( ) : void
SetText ( string myText, float disappearIn = 2.5f, float r = 1, float g = 1, float b = 1 ) : void
SetUpWorldFollow ( RectTransform _alertMessageCanvasRect, Transform _desiredTransform ) : void
SetUpWorldFollow ( RectTransform _alertMessageCanvasRect, Vector3 _desiredPos ) : void
hasPermanentMessage ( Transform obj ) : bool

Private Methods

Méthode Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void

Method Details

AddTransformToDictionary() public méthode

public AddTransformToDictionary ( ) : void
Résultat void

DOFollowTransform() public méthode

public DOFollowTransform ( ) : IEnumerator
Résultat IEnumerator

DOFollowWorld() public méthode

public DOFollowWorld ( ) : IEnumerator
Résultat IEnumerator

Disappear() public méthode

public Disappear ( float timeToDisappear ) : IEnumerator
timeToDisappear float
Résultat IEnumerator

NudgeOlderMessagesOnTransform() public méthode

public NudgeOlderMessagesOnTransform ( ) : void
Résultat void

SetText() public méthode

public SetText ( string myText, float disappearIn = 2.5f, float r = 1, float g = 1, float b = 1 ) : void
myText string
disappearIn float
r float
g float
b float
Résultat void

SetUpWorldFollow() public méthode

public SetUpWorldFollow ( RectTransform _alertMessageCanvasRect, Transform _desiredTransform ) : void
_alertMessageCanvasRect UnityEngine.RectTransform
_desiredTransform Transform
Résultat void

SetUpWorldFollow() public méthode

public SetUpWorldFollow ( RectTransform _alertMessageCanvasRect, Vector3 _desiredPos ) : void
_alertMessageCanvasRect UnityEngine.RectTransform
_desiredPos Vector3
Résultat void

hasPermanentMessage() public static méthode

public static hasPermanentMessage ( Transform obj ) : bool
obj Transform
Résultat bool

Property Details

followTransform public_oe property

public Transform followTransform
Résultat Transform

followTransformDictionary public_oe static_oe property

public static Dictionary> followTransformDictionary
Résultat List>.Dictionary

mRectTransform public_oe property

public RectTransform,UnityEngine mRectTransform
Résultat UnityEngine.RectTransform

ownerRectTransform public_oe property

public RectTransform,UnityEngine ownerRectTransform
Résultat UnityEngine.RectTransform

permanent public_oe property

public bool permanent
Résultat bool

txt public_oe property

public Text txt
Résultat Text

type public_oe property

public AlertManager.Type type
Résultat AlertManager.Type

worldPos public_oe property

public Vector3 worldPos
Résultat Vector3

yOffset public_oe property

public float yOffset
Résultat float