Пример #1
0
    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();
        }
    }