using Newtonsoft.Json; using System; using System.ComponentModel; namespace NewHorizons.External.Modules.Volumes.VolumeInfos { /// /// Note: Only sphere colliders work on vanish volumes! /// [JsonObject] public class VanishVolumeInfo : VolumeInfo { /// /// Whether the bodies will shrink when they enter this volume or just disappear instantly. /// [DefaultValue(true)] public bool shrinkBodies = true; /// /// Whether this volume only affects the player, ship, probe/scout, model rocket ship, and nomai shuttle. /// public bool onlyAffectsPlayerRelatedBodies; [Obsolete] public bool onlyAffectsPlayerAndShip; } }