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

        DrawingHelpers.DrawWireFrame(Box);
    }