diff options
Diffstat (limited to 'Docs/TAB_DebugRigidBody.txt')
-rw-r--r-- | Docs/TAB_DebugRigidBody.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Docs/TAB_DebugRigidBody.txt b/Docs/TAB_DebugRigidBody.txt index 095c105..e7a7026 100644 --- a/Docs/TAB_DebugRigidBody.txt +++ b/Docs/TAB_DebugRigidBody.txt @@ -11,6 +11,8 @@ public class DebugRigidBody : MonoBehaviour } public EMode mode = EMode.Axis; + public Color color = Color.white; + // When added to an object, draws colored rays from the // transform position. public int lineCount = 100; @@ -88,7 +90,7 @@ public class DebugRigidBody : MonoBehaviour GL.Begin(GL.QUADS); - GL.Color(Color.white); + GL.Color(color); GL.Vertex3(len, len, -len); GL.Vertex3(-len, len, -len); |