using System.ComponentModel; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using Newtonsoft.Json; using UnityEngine; using UnityEngine.Serialization; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("0.0.0.0")] namespace VolumetricSkyboxes; public class SkyboxesExporterSettings : ScriptableObject { public string buildPath = ""; } public class VolumetricSkyboxBundleData { public string skyboxName { get; set; } public string author { get; set; } public string guid { get; set; } public string buildHash { get; set; } [DefaultValue(-1)] [JsonProperty(/*Could not decode attribute arguments.*/)] public int version { get; set; } public string dataPath { get; set; } public string prefabPath { get; set; } } [CreateAssetMenu(menuName = "Volumetric Skyboxes/Skybox")] public class VolumetricSkyboxData : ScriptableObject { [Tooltip("Skybox prefab")] public GameObject prefab; [Tooltip("Skybox name shown in the terminal")] public string title; [Tooltip("Skybox author")] public string author; [Tooltip("Skybox icon shown in the terminal")] public Sprite skyboxIcon; [Tooltip("A regular skybox used in the scene")] public Material skyboxMaterial; [Space(10f)] [Header("Arena lighting settings")] [Tooltip("Enable custom arena lighting")] public bool customLighting; [Tooltip("Arena lighting color")] public Color lightingColor; [Tooltip("Arena lights intensity")] [Range(0f, 1f)] public float lightingIntensity; [Space(10f)] [Header("Fog settings")] [Tooltip("Enable custom arena fog")] public bool customFog; [Tooltip("Arena fog color")] public Color fogColor; public float fogMinimum; public float fogMaximum; [FormerlySerializedAs("fogColor")] [Space(10f)] [Header("Grid Textures")] public Texture2D baseGridTexture; public Texture2D topRowGridTexture; public Texture2D topGridTexture; [Space(10f)] [Header("Camera Settings")] [Tooltip("Defines how fast background moves relative to the player; 0 = background is static; 1 = background moves normally; 0.5 = background moves twice as slow; 2 = background moves twice as fast")] public float ParallaxCoefficient = 1f; public float NearClipPlane = 0.1f; public float FarClipPlane = 4000f; }