Enable editing of the texture scale of the structures.
This commit is contained in:
@@ -145,6 +145,8 @@ namespace Barotrauma
|
||||
get { return prefab.Tags; }
|
||||
}
|
||||
|
||||
// TODO: encapsulate visuals?
|
||||
|
||||
protected Color spriteColor;
|
||||
[Editable, Serialize("1.0,1.0,1.0,1.0", true)]
|
||||
public Color SpriteColor
|
||||
@@ -153,6 +155,9 @@ namespace Barotrauma
|
||||
set { spriteColor = value; }
|
||||
}
|
||||
|
||||
[Editable, Serialize("1.0, 1.0", true)]
|
||||
public Vector2 TextureScale { get; set; }
|
||||
|
||||
public override Rectangle Rect
|
||||
{
|
||||
get
|
||||
|
||||
Reference in New Issue
Block a user