mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
30 lines
809 B
C#
30 lines
809 B
C#
using NewHorizons.External.SerializableData;
|
|
using Newtonsoft.Json;
|
|
using System.ComponentModel;
|
|
|
|
namespace NewHorizons.External.Modules.VariableSize
|
|
{
|
|
[JsonObject]
|
|
public class WaterModule : VariableSizeModule
|
|
{
|
|
/// <summary>
|
|
/// Size of the water sphere
|
|
/// </summary>
|
|
public float size;
|
|
|
|
/// <summary>
|
|
/// Density of the water sphere. The higher the density, the harder it is to go through this fluid.
|
|
/// </summary>
|
|
[DefaultValue(30f)] public float density = 30f;
|
|
|
|
/// <summary>
|
|
/// Buoyancy density of the water sphere
|
|
/// </summary>
|
|
[DefaultValue(1.1f)] public float buoyancy = 1.1f;
|
|
|
|
/// <summary>
|
|
/// Tint of the water
|
|
/// </summary>
|
|
public MColor tint;
|
|
}
|
|
} |