using System.Collections; using System.Collections.Generic; using UnityEngine; namespace LuxWater { public class LuxWater_WaterVolumeTrigger : MonoBehaviour { [Space(6)] [LuxWater_HelpBtn("h.cetbv2etlk23")] public Camera cam; public bool active = true; void OnEnable () { if (cam == null) { var camera = GetComponent(); if (camera != null) { cam = camera; } else { active = false; } } } } }