(602bf4ba6) Implemented structure scaling. TODO: draw with correct scale when dragging

This commit is contained in:
Joonas Rikkonen
2019-04-16 17:13:18 +03:00
parent 3c147c1653
commit 9dc29965f6
6 changed files with 169 additions and 116 deletions
@@ -520,15 +520,9 @@ namespace Barotrauma
}
}
}
// The value should always be copied from the prefab. Editing is enabled only for testing the scale in the sub editor (changes are not saved).
#if DEBUG
[Serialize(1f, false), Editable(0.1f, 10f, DecimalCount = 3, ValueStep = 0.1f)]
#else
[Serialize(1f, false)]
#endif
public float Scale { get; set; } = 1;
public virtual float Scale { get; set; } = 1;
#endregion
}
}