Untitled
Never
public Text myText; public int startingFontSize = 16; public Color startingFontColor = Color.black; public int maxFontSize = 50; public int minFontSize = 2; public Color[] newFontColors; /// <summary> /// Private integer to keep the variable for WhatIsColor. /// </summary> private int _i = 0; /// <summary> /// A Getter and Setter Property which allows it's own behavior to regulate the index for newFontColors; /// </summary> private float whatIsColor { get { return _i; } set { _i = value; if (_i >= newFontColors.Length) _i = 0; if (_i <= -1) _i = newFontColors.Length; } } /// <summary> /// Initial start, assign color and fonts /// </summary> private void Start() { myText.fontSize = startingFontSize; myText.color = startingFontColor; } /// <summary> /// Tell the code to add the index for the "WhatIsColor" and then update the color /// </summary> public void fontColorGoingUpThroughList() { whatIsColor += 1f; SetColor(); } /// <summary> /// Tell the code to subtract the index for the "WhatIsColor" and then update the color /// </summary> public void fontColorGoingDownThroughList() { whatIsColor -= 1f; SetColor(); } /// <summary> /// Call to set the color and fonts... apparently? /// </summary> private void SetColor() { myText.fontSize = startingFontSize; myText.color = newFontColors[whatIsColor]; }
Raw Text
-
fhyfght
PHP | 5 min ago
-
I sheltered my neighbor for the night, she paid me with anal sex
14 min ago
-
CP💎 VÍDEO 😏 SLEEPING💤 TEEN GIRL 12yo🍭👧
16 min ago
-
Adult Telegram Channels
31 min ago
-
Untitled
32 min ago
-
Untitled
36 min ago
-
Untitled
37 min ago
-
Untitled
38 min ago
-
Untitled
42 min ago
-
The housewife seduced the courier who brought her the order and fucked him on the floor
44 min ago