16 lines
499 B
C#
16 lines
499 B
C#
|
using UnityEngine;
|
||
|
using UnityEngine.Playables;
|
||
|
using UnityEngine.Timeline;
|
||
|
using UnityEngine.AI;
|
||
|
|
||
|
[TrackColor(0.855f, 0.8623f, 0.87f)]
|
||
|
[TrackClipType(typeof(NavMeshAgentControlClip))]
|
||
|
[TrackBindingType(typeof(NavMeshAgent))]
|
||
|
public class NavMeshAgentControlTrack : TrackAsset
|
||
|
{
|
||
|
public override Playable CreateTrackMixer(PlayableGraph graph, GameObject go, int inputCount)
|
||
|
{
|
||
|
return ScriptPlayable<NavMeshAgentControlMixerBehaviour>.Create (graph, inputCount);
|
||
|
}
|
||
|
}
|