1
0
Fork 0
LaboratoryProtection/Assets/OtherPackage/DefaultPlayables/NavMeshAgentControl/NavMeshAgentControlBehaviou...

17 lines
345 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;
[Serializable]
public class NavMeshAgentControlBehaviour : PlayableBehaviour
{
public Transform destination;
public bool destinationSet;
public override void OnPlayableCreate (Playable playable)
{
destinationSet = false;
}
}