PointLightManagerEditor.cs 568 B

123456789101112131415
  1. using UnityEngine;
  2. using UnityEditor;
  3. namespace VolumetricFogAndMist2 {
  4. [CustomEditor(typeof(PointLightManager))]
  5. public class PointLightManagerEditor : Editor {
  6. public override void OnInspectorGUI() {
  7. EditorGUILayout.HelpBox("In order to use fast point lights with Volumetric Fog & Mist 2, add a FogPointLight script to the desired point lights (only required by the point light manager; if you're using the option 'Native Lights' this is not required at all).", MessageType.Info);
  8. DrawDefaultInspector();
  9. }
  10. }
  11. }