Ejemplo n.º 1
0
    /// <summary>
    /// Start is called on the frame when a script is enabled just before
    /// any of the Update methods is called the first time.
    /// </summary>
    void Start()
    {
        pointsholder = new GameObject("Points Holder");

        sampler.regionWidth    = regionWidth;
        sampler.regionHeight   = regionHeight;
        sampler.regionLength   = regionLength;
        sampler.minDistance    = minDistance;
        sampler.rejectionLimit = rejectionLimit;
        sampler.isSpherical    = isSpherical;

        sampler.StartSampling(Dimensions);
    }