예제 #1
0
 void OnDrawGizmos()
 {
     foreach (var item in _trackedObjects)
     {
         var box = BurstColliderFactory.CreateBox(item.Value.WrappedObject.transform);
         DrawingHelpers.DrawWireFrame(box);
     }
 }
예제 #2
0
    void OnDrawGizmos()
    {
        if (!ExecuteInEditMode && !Application.isPlaying)
        {
            return;
        }

        DrawingHelpers.DrawWireFrame(Box);
    }