7 namespace droid.Runtime.Prototyping.Configurables {
11 [AddComponentMenu(ConfigurableComponentMenuPath._ComponentMenuPath
13 + ConfigurableComponentMenuPath._Postfix)]
36 this._x = this.Identifier +
"X";
37 this._y = this.Identifier +
"Y";
38 this._z = this.Identifier +
"Z";
45 this.ParentEnvironment =
46 NeodroidUtilities.RegisterComponent(this.ParentEnvironment, (
Configurable)
this, this._x);
47 this.ParentEnvironment =
48 NeodroidUtilities.RegisterComponent(this.ParentEnvironment, (
Configurable)
this, this._y);
49 this.ParentEnvironment =
50 NeodroidUtilities.RegisterComponent(this.ParentEnvironment, (
Configurable)
this, this._z);
57 if (this.ParentEnvironment == null) {
61 this.ParentEnvironment.UnRegister(
this, this._x);
62 this.ParentEnvironment.UnRegister(
this, this._y);
63 this.ParentEnvironment.UnRegister(
this, this._z);
66 public override ISpace ConfigurableValueSpace {
get; }
74 DebugPrinting.ApplyPrint(this.Debugging, configuration, this.Identifier);
77 var local_scale = this.transform.localScale;
86 this.transform.localScale = local_scale;
96 var v = this._space.
Sample();
override void UnRegisterComponent()
override void ApplyConfiguration(IConfigurableConfiguration configuration)
override void RegisterComponent()
override Configuration [] SampleConfigurations()