Maze / Library /PackageCache /com.unity.ugui@1.0.0 /Editor /EventSystem /Physics2DRaycasterEditor.cs
| using UnityEngine; | |
| using UnityEngine.EventSystems; | |
| namespace UnityEditor.EventSystems | |
| { | |
| [] | |
| /// <summary> | |
| /// Custom Editor for the EventSystem Component. | |
| /// Extend this class to write a custom editor for a component derived from EventSystem. | |
| /// </summary> | |
| public class Physics2DRaycasterEditor : Editor | |
| { | |
| public override void OnInspectorGUI() | |
| { | |
| base.OnInspectorGUI(); | |
| EditorGUILayout.HelpBox("Physics2D module is not present. This Raycaster will have no effect", MessageType.Warning); | |
| } | |
| } | |
| } | |