3 namespace droid.Runtime.Utilities.GameObjects.Plotting {
9 var color = Color.green;
11 this.DrawHelperAtCenter(this.transform.up, color, 2f);
15 this.DrawHelperAtCenter(Vector3.up, color, 1f);
19 this.DrawHelperAtCenter(this.transform.forward, color, 2f);
23 this.DrawHelperAtCenter(Vector3.forward, color, 1f);
27 this.DrawHelperAtCenter(this.transform.right, color, 2f);
31 this.DrawHelperAtCenter(Vector3.right, color, 1f);
35 void DrawHelperAtCenter(Vector3 direction, Color color,
float scale) {
37 var position = this.transform.position;
38 var destination = position + direction * scale;
39 Gizmos.DrawLine(position, destination);