Setup() protected method

protected Setup ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : void
start UnityEngine.Vector3
end UnityEngine.Vector3
callbackDelegate OnPathDelegate
return void
Ejemplo n.º 1
0
        public static ABPath Construct(Vector3 start, Vector3 end, [Optional, DefaultParameterValue(null)] OnPathDelegate callback)
        {
            ABPath path = PathPool.GetPath <ABPath>();

            path.Setup(start, end, callback);
            return(path);
        }
Ejemplo n.º 2
0
        public static ABPath Construct(Vector3 start, Vector3 end, OnPathDelegate callback = null)
        {
            ABPath path = PathPool <ABPath> .GetPath();

            path.Setup(start, end, callback);
            return(path);
        }
Ejemplo n.º 3
0
        public static ABPath Construct(ref VInt3 start, ref VInt3 end, OnPathDelegate callback = null)
        {
            ABPath path = PathPool <ABPath> .GetPath();

            path.Setup(ref start, ref end, callback);
            return(path);
        }