コード例 #1
0
    public void Refresh()
    {
        //SphereGenerator.Sphere(tool, 0.5f, level, correction);
        SphereGenerator.Hemisphere(tool, 0.5f, complexity, correction);

        if (spin)
        {
            transform.localRotation = Quaternion.Euler(-90, 0, 0);
            transform.Rotate(Vector3.up, Random.value * 360);
        }
    }