Files
2026-03-04 10:03:45 +08:00

13 lines
221 B
C#

using UnityEngine;
namespace INab.BetterFog.BIRP
{
public class CameraDepth : MonoBehaviour
{
private void OnEnable()
{
base.gameObject.GetComponent<Camera>().depthTextureMode = DepthTextureMode.Depth;
}
}
}