Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

TextPlayableBehaviour.cs 617B

12345678910111213141516171819202122232425
  1. #if TEXT_TRACK_REQUIRES_TEXTMESH_PRO
  2. using System;
  3. using UnityEngine;
  4. using UnityEngine.Playables;
  5. namespace Timeline.Samples
  6. {
  7. // Runtime representation of a TextClip.
  8. // The Serializable attribute is required to be animated by timeline, and used as a template.
  9. [Serializable]
  10. public class TextPlayableBehaviour : PlayableBehaviour
  11. {
  12. [Tooltip("The color of the text")]
  13. public Color color = Color.white;
  14. [Tooltip("The size of the font to use")]
  15. public int fontSize = 14;
  16. [Tooltip("The text to display")]
  17. public string text = "";
  18. }
  19. }
  20. #endif