Esempio n. 1
0
        void OnDrawGizmos()
        {
            if (boundsTree == null)
            {
                return;
            }

            boundsTree.DrawAllBounds();       // Draw node boundaries
            boundsTree.DrawAllObjects();      // Draw object boundaries
            boundsTree.DrawCollisionChecks(); // Draw the last *numCollisionsToSave* collision check boundaries

            // pointTree.DrawAllBounds(); // Draw node boundaries
            // pointTree.DrawAllObjects(); // Mark object positions
        }