27 lines
692 B
C#
27 lines
692 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
public class PostProcessInstructor : MonoBehaviour
|
|
{
|
|
[FormerlySerializedAs("combinedRoots")]
|
|
[LabelText("需要网格合并节点")]
|
|
[ListDrawerSettings(AlwaysAddDefaultValue = false)]
|
|
public List<Transform> rootsToCombine = new();
|
|
|
|
[FormerlySerializedAs("art")]
|
|
[LabelText("网格合并后父节点")]
|
|
public Transform combinedObjectsRoot;
|
|
|
|
[LabelText("地面")]
|
|
public GameObject ground;
|
|
|
|
[LabelText("雾")]
|
|
public GameObject fog;
|
|
|
|
[LabelText("后处理预制体")]
|
|
public bool processPrefab;
|
|
}
|