Exemplo n.º 1
0
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();

        CheckPointManager selected = (CheckPointManager)target;

        if (GUILayout.Button("InitChecpoints"))
        {
            selected.Initialisation();
        }
    }