Tanoda
TextRoller.cs
Go to the documentation of this file.
1
using
System.Collections;
2
using
System.Collections.Generic;
3
using
UnityEngine
;
4
using
UnityEngine
.
UI
;
5
6
[RequireComponent(typeof(Text))]
7
public
class
TextRoller
: MonoBehaviour
8
{
9
Text t;
10
byte
c =0;
11
12
void
Start() => t = GetComponent<Text>();
13
14
15
void
Update()
16
{
17
t.text = ((char)c).ToString();
18
c++;
19
}
20
}
TextRoller
Definition:
TextRoller.cs:8
UnityEngine.UI
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Scripts
TestScripts
TextRoller.cs
Generated by
1.9.3