7 namespace droid.Runtime.Prototyping.Displayers.Canvas {
12 [RequireComponent(typeof(Image))]
13 [AddComponentMenu(DisplayerComponentMenuPath._ComponentMenuPath
15 + DisplayerComponentMenuPath._Postfix)]
18 [SerializeField] [Range(0.0f, 1.0f)]
float _value;
23 get {
return this._value; }
26 this.SetFillAmount(value);
33 protected override void Setup() { this._image = this.GetComponent<Image>(); }
40 this._image.fillAmount = amount;
49 public override void Display(
float value) {
51 DebugPrinting.DisplayPrint(value, this.Identifier, this.Debugging);
54 this.SetFillAmount(value);
60 public override void Display(Double value) {
62 DebugPrinting.DisplayPrint(value, this.Identifier, this.Debugging);
65 this.SetFillAmount((
float)value);
71 public override void Display(
float[] values) {
73 DebugPrinting.DisplayPrint(values[0], this.Identifier, this.Debugging);
76 this.SetFillAmount(values[0]);
82 public override void Display(String value) {
throw new NotImplementedException(); }
87 public override void Display(Vector3 value) {
throw new NotImplementedException(); }
92 public override void Display(Vector3[] value) {
throw new NotImplementedException(); }
override void Display(float[] values)
override void Display(String value)
override void Display(Points.StringPoint[] points)
void SetFillAmount(float amount)
override void PlotSeries(Points.ValuePoint[] points)
override void Display(Vector3 value)
override void Display(Points.StringPoint point)
override void Display(Double value)
override void Display(Vector3[] value)
override void Display(Points.ValuePoint points)
override void Display(Points.ValuePoint[] points)
override void Display(float value)