Editar

Compartilhar via


DebugUtilities.DrawBounds(Bounds, Color, Color) Method

Definition

Draws the minimum and maximum points of the given bounds

public:
 static void DrawBounds(UnityEngine::Bounds bounds, UnityEngine::Color minColor, UnityEngine::Color maxColor);
public static void DrawBounds (UnityEngine.Bounds bounds, UnityEngine.Color minColor, UnityEngine.Color maxColor);
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public static void DrawBounds (UnityEngine.Bounds bounds, UnityEngine.Color minColor, UnityEngine.Color maxColor);
static member DrawBounds : UnityEngine.Bounds * UnityEngine.Color * UnityEngine.Color -> unit
[<System.Diagnostics.Conditional("UNITY_EDITOR")>]
static member DrawBounds : UnityEngine.Bounds * UnityEngine.Color * UnityEngine.Color -> unit
Public Shared Sub DrawBounds (bounds As Bounds, minColor As Color, maxColor As Color)

Parameters

bounds
UnityEngine.Bounds
minColor
UnityEngine.Color
maxColor
UnityEngine.Color
Attributes

Applies to