예제 #1
0
    public void Respawn(int step)
    {
        int newMaxDepth = rootSettings.maxDepth + step;

        newMaxDepth           = Mathf.Min(Mathf.Max(newMaxDepth, absMinimumDrop), absMaximumBoost);
        rootSettings.maxDepth = newMaxDepth;
        clearChildren();
        rootSettings.spawnFractals();
    }