Exemplo n.º 1
0
    public static ABezierCurve BezierCurve(List<Vector3> p_controlPoints, float p_duration, Action<Vector3> p_callback)
    {
        ABezierCurve __newCurve = new ABezierCurve(p_controlPoints, p_duration, p_callback);

        TweenCore.instance.AddCurve(__newCurve);

        return __newCurve;
    }
Exemplo n.º 2
0
 public void AddCurve (ABezierCurve p_curve)
 {
     if (_curvesList == null)
     {
         _curvesList = new List<ABezierCurve>();
     }
     _curvesList.Add(p_curve);
 }