LightControlBehaviour.cs 318 B

12345678910111213
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.Playables;
  4. using UnityEngine.Timeline;
  5. [Serializable]
  6. public class LightControlBehaviour : PlayableBehaviour
  7. {
  8. public Color color = Color.white;
  9. public float intensity = 1f;
  10. public float bounceIntensity = 1f;
  11. public float range = 10f;
  12. }