Example #1
0
        protected AbstractDebugShape(UnityDebugHelper debugHelper)
        {
            Argument.NotNull(() => debugHelper);

            this.curState    = State.NotStarted;
            this.debugHelper = debugHelper;
        }
Example #2
0
        public RayDebugShape(Ray ray, float distance, UnityDebugHelper debugHelper) :
            base(debugHelper)
        {
            Argument.NotNull(() => ray);
            Argument.NotNull(() => distance);

            this.ray      = ray;
            this.distance = distance;
        }
Example #3
0
 public LineDebugShape(Vector3 p1, Vector3 p2, UnityDebugHelper debugHelper) :
     base(debugHelper)
 {
     this.p1 = p1;
     this.p2 = p2;
 }
Example #4
0
 public TextDebugShape(Vector2 pos, string text, UnityDebugHelper debugHelper) :
     base(debugHelper)
 {
     this.pos  = pos;
     this.text = text;
 }
 public CubeDebugShape(Vector3 pos, UnityDebugHelper debugHelper) :
     base(debugHelper)
 {
     this.pos = pos;
 }