Setup() protected method

protected Setup ( Vector3 start, int maxGScore, OnPathDelegate callback ) : void
start Vector3
maxGScore int
callback OnPathDelegate
return void
Esempio n. 1
0
        public static ConstantPath Construct(Vector3 start, int maxGScore, OnPathDelegate callback = null)
        {
            ConstantPath path = PathPool <ConstantPath> .GetPath();

            path.Setup(start, maxGScore, callback);
            return(path);
        }
Esempio n. 2
0
        public static ConstantPath Construct(Vector3 start, int maxGScore, [Optional, DefaultParameterValue(null)] OnPathDelegate callback)
        {
            ConstantPath path = PathPool.GetPath <ConstantPath>();

            path.Setup(start, maxGScore, callback);
            return(path);
        }