public static Construct ( Array startPoints, Vector3 target, Array callbackDelegates, OnPathDelegate callback = null ) : |
||
startPoints | Array | |
target | Vector3 | |
callbackDelegates | Array | |
callback | OnPathDelegate | |
Результат |
public static MultiTargetPath Construct (Vector3[] startPoints, Vector3 target, OnPathDelegate[] callbackDelegates, OnPathDelegate callback = null) {
MultiTargetPath p = Construct(target, startPoints, callbackDelegates, callback);
p.inverted = true;
return p;
}
MultiTargetPath::Construct ( Vector3 start, Array targets, Array callbackDelegates, OnPathDelegate callback = null ) : |
public static MultiTargetPath Construct(Vector3[] startPoints, Vector3 target, OnPathDelegate[] callbackDelegates, OnPathDelegate callback = null) { MultiTargetPath multiTargetPath = MultiTargetPath.Construct(target, startPoints, callbackDelegates, callback); multiTargetPath.inverted = true; return(multiTargetPath); }