13 [MenuItem(
"Assets/Create/Marquee")]
private static void CreateMarquee() =>
16 protected override void OnScriptReload() {
17 CreateAssetDictionary(
19 , (
"Characters per second", typeof(
Integer))
20 , (
"Contents", typeof(Quotes))
21 , (
"Display complete", typeof(Trigger))
22 , (
"Now showing", typeof(
String))
23 , (
"Repeats per message", typeof(
Integer))
24 , (
"Marquee Canvas", typeof(
Marquee))
25 , (
"quotes", typeof(TextAsset)));
27 SetField(
"Tickertape Manager",
"quotes", Asset(
"Contents"));
28 SetField(
"Tickertape Manager",
"showing", Asset(
"Now showing"));
29 SetField(
"Tickertape Manager",
"showingComplete", Asset(
"Display complete"));
31 SetField(
"Marquee Canvas",
"charactersPerSecond", Asset(
"Characters per second"));
32 SetField(
"Marquee Canvas",
"repeats", Asset(
"Repeats per message"));
33 SetField(
"Marquee Canvas",
"showing", Asset(
"Now showing"));
34 SetField(
"Marquee Canvas",
"showingComplete", Asset(
"Display complete"));
36 Field(
"Characters per second").intValue = 16;
38 SetActiveObject(
"Contents");
Manager Custom Asset to serve messages to the marquee
Wizard to create a new Marquee in the current scene.
Visual object to display a message scrolling across the screen