public new static XPath Construct(Vector3 start, Vector3 end, OnPathDelegate callback = null) { XPath p = PathPool <XPath> .GetPath(); p.Setup(start, end, callback); p.endingCondition = new ABPathEndingCondition(p); return(p); }
public static XPath Construct(Vector3 start, Vector3 end, [Optional, DefaultParameterValue(null)] OnPathDelegate callback) { XPath p = PathPool.GetPath <XPath>(); p.Setup(start, end, callback); p.endingCondition = new ABPathEndingCondition(p); return(p); }