A game about forced loneliness, made by TACStudios
at master 20 lines 623 B view raw
1using UnityEngine.EventSystems; 2 3namespace UnityEditor.EventSystems 4{ 5 [CustomEditor(typeof(PhysicsRaycaster), true)] 6 /// <summary> 7 /// Custom Editor for the EventSystem Component. 8 /// Extend this class to write a custom editor for a component derived from EventSystem. 9 /// </summary> 10 public class PhysicsRaycasterEditor : Editor 11 { 12 public override void OnInspectorGUI() 13 { 14 base.OnInspectorGUI(); 15#if !PACKAGE_PHYSICS 16 EditorGUILayout.HelpBox("Physics module is not present. This Raycaster will have no effect", MessageType.Warning); 17#endif 18 } 19 } 20}