示例#1
0
    public override void OnMYBehaviourStart(Playable playable)
    {
        List <Vector3> temp = new List <Vector3>(points);

        curve = new MoveClipCurve(temp);
        if (executer == null)
        {
            return;
        }
        executer.OnBehaviourStart(playable);
    }
示例#2
0
    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);
        }
    }