17 lines
361 B
C#
17 lines
361 B
C#
|
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;
|
||
|
}
|
||
|
}
|