Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TimeDilationBehaviour.cs 457B

12345678910111213141516
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.Playables;
  4. using UnityEngine.Timeline;
  5. namespace Timeline.Samples
  6. {
  7. // Runtime representation of a time dilation clip.
  8. // The Serializable attribute is required to be animated by timeline, and used as a template.
  9. [Serializable]
  10. public class TimeDilationBehaviour : PlayableBehaviour
  11. {
  12. [Tooltip("Time.timeScale replacement value.")]
  13. public float timeScale = 1f;
  14. }
  15. }