public DebugItemViewer(Rect canvas)
 {
     this.GuiCanvas = canvas;
     colourPicker = new ColourPicker("Colour");
     globalPosPicker = new Vector3Picker("Global Pos", -10f, 10f);
     localPosPicker = new Vector3Picker("Local Pos", -10f, 10f);
     scalePicker = new Vector3Picker("Scale", 0.001f, 5f);
     rotationPicker = new RotationPicker("Rotation");
 }
Пример #2
0
 public DebugItemViewer(Rect canvas)
 {
     this.GuiCanvas  = canvas;
     colourPicker    = new ColourPicker("Colour");
     globalPosPicker = new Vector3Picker("Global Pos", -10f, 10f);
     localPosPicker  = new Vector3Picker("Local Pos", -10f, 10f);
     scalePicker     = new Vector3Picker("Scale", 0.001f, 5f);
     rotationPicker  = new RotationPicker("Rotation");
 }