Setup() protected méthode

protected Setup ( Vector3 start, int length, OnPathDelegate callback ) : RandomPath
start UnityEngine.Vector3
length int
callback OnPathDelegate
Résultat RandomPath
Exemple #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);
        }
        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);
        }