3 namespace droid.Runtime.Prototyping.Internals {
7 [AddComponentMenu(ResetableComponentMenuPath._ComponentMenuPath
9 + ResetableComponentMenuPath._Postfix)]
13 Vector3 _original_position;
17 Quaternion _original_rotation;
22 public override string PrototypingTypeName {
get {
return "Transform"; } }
28 this.transform.position = this._original_position;
29 this.transform.rotation = this._original_rotation;
34 protected override void Setup() {
35 this._original_position = this.transform.position;
36 this._original_rotation = this.transform.rotation;