Setup() protected method

protected Setup ( Vector3 start, int length, OnPathDelegate callback ) : RandomPath
start UnityEngine.Vector3
length int
callback OnPathDelegate
return RandomPath
Ejemplo n.º 1
0
        // Token: 0x06002761 RID: 10081 RVA: 0x001B14A5 File Offset: 0x001AF6A5
        public static RandomPath Construct(Vector3 start, int length, OnPathDelegate callback = null)
        {
            RandomPath path = PathPool.GetPath <RandomPath>();

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

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