using NewHorizons.External.SerializableData; using Newtonsoft.Json; using System.ComponentModel; namespace NewHorizons.External.Modules.VariableSize { [JsonObject] public class WaterModule : VariableSizeModule { /// /// Size of the water sphere /// public float size; /// /// Density of the water sphere. The higher the density, the harder it is to go through this fluid. /// [DefaultValue(1.2f)] public float density = 1.2f; /// /// Buoyancy density of the water sphere /// [DefaultValue(1f)] public float buoyancy = 1f; /// /// Tint of the water /// public MColor tint; } }