public override void OnInspectorGUI() { base.OnInspectorGUI(); Waypoint pf = (Waypoint)this.target; if (GUILayout.Button("Generate Links")) { Waypoint.GenerateLinks(); } if (GUILayout.Button("Clear Links")) { Waypoint.ClearLinks(); } }
public override void OnInspectorGUI() { base.OnInspectorGUI(); Waypoint pf = (Waypoint)this.target; if (GUILayout.Button("Generate Links")) { Waypoint.GenerateLinks(); } if (GUILayout.Button("Clear Links")) { Waypoint.ClearLinks(); } }