C# 클래스 UnityContrib.UnityEngine.DebugEx

Provides a set of helper methods for debugging.
파일 보기 프로젝트 열기: UnityContrib/framework

공개 메소드들

메소드 설명
DrawCross3D ( Vector3 position, float size, Color color, float duration = 0.0f, bool depthTest = true ) : void

Draws 3 lines intersecting each other at the specified position.

DrawPath ( NavMeshPath path, Vector3 start, Vector3 end, Color color, float duration = 0.0f, bool depthTest = true ) : void

Draws the specified path.

DrawSphere ( Vector3 position, float radius, Color color, float duration, bool depthTest ) : void

Draws a sphere at the specified position.

메소드 상세

DrawCross3D() 공개 정적인 메소드

Draws 3 lines intersecting each other at the specified position.
public static DrawCross3D ( Vector3 position, float size, Color color, float duration = 0.0f, bool depthTest = true ) : void
position UnityEngine.Vector3 /// The position where the 3 lines intersect. ///
size float /// The length of each line. ///
color UnityEngine.Color /// The color of the lines. ///
duration float /// The amount of seconds the line must be visible for. /// A duration of zero shows the line for just one frame. ///
depthTest bool /// A value indicating whether or not the line be obscured by objects closer to the camera? ///
리턴 void

DrawPath() 공개 정적인 메소드

Draws the specified path.
public static DrawPath ( NavMeshPath path, Vector3 start, Vector3 end, Color color, float duration = 0.0f, bool depthTest = true ) : void
path UnityEngine.NavMeshPath /// The path to draw. ///
start UnityEngine.Vector3 /// The start of the path. ///
end UnityEngine.Vector3 /// The end of the path. ///
color UnityEngine.Color /// The color of the path. ///
duration float /// The amount of seconds the path must be visible for. /// A duration of zero shows the path for just one frame. ///
depthTest bool /// A value indicating whether or not the path be obscured by objects closer to the camera? ///
리턴 void

DrawSphere() 공개 정적인 메소드

Draws a sphere at the specified position.
public static DrawSphere ( Vector3 position, float radius, Color color, float duration, bool depthTest ) : void
position UnityEngine.Vector3 /// The position to draw the sphere at. ///
radius float /// The radius of the sphere. ///
color UnityEngine.Color /// The color of the sphere. ///
duration float /// The amount of seconds the line must be visible for. /// A duration of zero shows the line for just one frame. ///
depthTest bool /// A value indicating whether or not the line be obscured by objects closer to the camera? ///
리턴 void