NavMeshAgentControlBehaviour.cs 345 B

12345678910111213141516
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.Playables;
  4. using UnityEngine.Timeline;
  5. [Serializable]
  6. public class NavMeshAgentControlBehaviour : PlayableBehaviour
  7. {
  8. public Transform destination;
  9. public bool destinationSet;
  10. public override void OnPlayableCreate (Playable playable)
  11. {
  12. destinationSet = false;
  13. }
  14. }