DebugDrawStuff
How do I use Debug Draw Stuff
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
80 | void DebugDrawStuff() | 1 |
72 | void DebugDrawStuff() | 2 |
File name: PickupCamera.cs
Copy
80 void DebugDrawStuff()
81 {
82 Debug.DrawLine( _target.position, _target.position + headOffset );
83
84 }
File name: ThirdPersonCamera.cs
Copy
72 void DebugDrawStuff()
73 {
74 Debug.DrawLine( _target.position, _target.position + headOffset );
75
76 }
DebugDrawStuff 112 lượt xem
Gõ tìm kiếm nhanh...