using System.Collections; using System.Collections.Generic; using Sirenix.OdinInspector; using UnityEngine; using UnityEngine.Serialization; public enum PostProcessTextureUnitSize { _256 = 256, _512 = 512, } public class PostProcessInstructor : MonoBehaviour { [FormerlySerializedAs("combinedRoots")] [LabelText("需要网格合并节点")] [ListDrawerSettings(AlwaysAddDefaultValue = false)] public List rootsToCombine = new(); [FormerlySerializedAs("art")] [LabelText("网格合并后父节点")] public Transform combinedObjectsRoot; [LabelText("地面")] public GameObject ground; [LabelText("雾")] public GameObject fog; [LabelText("后处理预制体")] public bool processPrefab; [LabelText("单位贴图尺寸")] public PostProcessTextureUnitSize postProcessTextureUnitSize = PostProcessTextureUnitSize._256; }