예제 #1
0
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();

        GroupSettings settings = (GroupSettings)target;

        if (GUI.changed && Application.isPlaying)
        {
            settings.UpdateVisuals();
        }
    }