Exemple #1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();
        progressBar.ApplyValuesInEditorMode();

        if (GUI.changed)
        {
            SetDirty(progressBar.gameObject);
        }
    }