8 namespace droid.Runtime.Prototyping.Displayers.Canvas {
13 [RequireComponent(typeof(Text))]
14 [AddComponentMenu(DisplayerComponentMenuPath._ComponentMenuPath
16 + DisplayerComponentMenuPath._Postfix)]
23 protected override void Setup() { this._text_component = this.GetComponent<Text>(); }
30 public override void Display(
float value) {
32 DebugPrinting.DisplayPrint(value, this.Identifier, this.Debugging);
35 this.SetText(value.ToString(CultureInfo.InvariantCulture));
41 public override void Display(Double value) {
43 DebugPrinting.DisplayPrint(value, this.Identifier, this.Debugging);
46 this.SetText(value.ToString(CultureInfo.InvariantCulture));
52 public override void Display(
float[] values) {
54 DebugPrinting.DisplayPrint(values[0], this.Identifier, this.Debugging);
57 this.SetText(values[0].ToString());
63 public override void Display(String value) {
65 DebugPrinting.DisplayPrint(value, this.Identifier, this.Debugging);
74 public override void Display(Vector3 value) {
76 DebugPrinting.DisplayPrint(value, this.Identifier, this.Debugging);
79 this.SetText(value.ToString());
85 public override void Display(Vector3[] value) {
87 DebugPrinting.DisplayPrint(value, this.Identifier, this.Debugging);
90 this.SetText(value.ToString());
98 DebugPrinting.DisplayPrint(points, this.Identifier, this.Debugging);
101 this.SetText(points.ToString());
109 DebugPrinting.DisplayPrint(points, this.Identifier, this.Debugging);
112 this.SetText(points.ToString());
120 DebugPrinting.DisplayPrint(point, this.Identifier, this.Debugging);
123 this.SetText(point.ToString());
131 DebugPrinting.DisplayPrint(points, this.Identifier, this.Debugging);
134 this.SetText(points.ToString());
139 DebugPrinting.DisplayPrint(points, this.Identifier, this.Debugging);
142 this.SetText(points.ToString());
149 if (this._text_component) {
150 this._text_component.text = text;
void SetText(string text)
override void Display(Double value)
override void Display(Vector3[] value)
override void Display(String value)
override void Display(float value)
override void PlotSeries(Points.ValuePoint[] points)
override void Display(Points.StringPoint[] points)
override void Display(float[] values)
override void Display(Points.ValuePoint[] points)
override void Display(Points.StringPoint point)
override void Display(Vector3 value)
override void Display(Points.ValuePoint points)