1
0
Fork 0
LaboratoryProtection/Assets/OtherPackage/DefaultPlayables/TextSwitcher/TextSwitcherBehaviour.cs

14 lines
279 B
C#
Raw Permalink Normal View History

2023-09-12 15:55:51 +08:00
using System;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Timeline;
using UnityEngine.UI;
[Serializable]
public class TextSwitcherBehaviour : PlayableBehaviour
{
public Color color = Color.white;
public int fontSize = 14;
public string text;
}