public override void OnInspectorGUI() { var trigger = (Trigger)target; if (target == null) { return; } GUIUtilities.ComponentHelpBox(trigger, "Use Trigger Manager on the parent object to edit this trigger."); }
public override void OnInspectorGUI() { var rail = (Rail)target; if (target == null) { return; } GUIUtilities.ComponentHelpBox(rail, "Use Rail Manager on the parent object to edit this rail."); }