/// <summary> /// Path controller constructor /// </summary> /// <param name="owner">Owner object that must be moved</param> /// <param name="name">Name of this controller</param> /// <param name="shape">Path shape</param> /// <param name="duration">Movement duration in seconds</param> /// <param name="easing">Movement easing function</param> public OTPathController(Object owner, string name, OTShape shape, float duration, OTEase easing) : base(owner, name) { this.shape = shape; this.duration = duration; this.easing = easing; }
void Clean() { _shape = shape; _duration = duration; _speed = speed; _looping = looping; _addRotation = addRotation; _upVector = upVector; }
void finishedPath(OTShape path, object owner) { // increase the counter that we will display in the OnGUI finished++; }
public static int[] Triangulate(OTShape shape) { return new int[]{}; }