- Renamed a bunch of ObjectProperty-related stuff (ObjectProperty -> SerializableProperty, IPropertyObject -> ISerializableEntity, the "SerializableProperty" attribute -> Serialize).
- Rectangle serialization. - Option to restrict numeric properties to a range of values. - WIP generic ISerializableEntity editor.
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Barotrauma.Items.Components
|
||||
|
||||
bool throwing;
|
||||
|
||||
[SerializableProperty(1.0f, false)]
|
||||
[Serialize(1.0f, false)]
|
||||
public float ThrowForce
|
||||
{
|
||||
get { return throwForce; }
|
||||
|
||||
Reference in New Issue
Block a user