예제 #1
0
 private void Update()
 {
     if (ToggleToGenerate != _previous)
     {
         _points = GenerateRandomSet3D(GenerateRadius, GenerateCountMin, GenerateCountMax);
         _box    = Box3.CreateFromPoints(_points);
     }
     _previous = ToggleToGenerate;
 }