public override void OnMYBehaviourStart(Playable playable) { List <Vector3> temp = new List <Vector3>(points); curve = new MoveClipCurve(temp); if (executer == null) { return; } executer.OnBehaviourStart(playable); }
public void AddPlayerCurrentPos(Vector3 pos) { if (points == null) { return; } List <Vector3> temp = new List <Vector3>(points); temp.Insert(0, pos); if (curve == null) { curve = new MoveClipCurve(temp); } else { curve.RefreshPoint(temp); } }