protected override void AddButton(GameObject target, AudioSource audioSourceDown, AudioSource audioSourceUp) { KnownFolderButton button = Undoable.AddComponent <KnownFolderButton>(target); PopulateButton(button, audioSourceDown, audioSourceUp); }
public void PopulateButton(KnownFolderButton button, AudioSource audioSourceDown, AudioSource audioSourceUp) { base.PopulateButton(button, audioSourceDown, audioSourceUp); button.knownFolder = knownFolder; button.filePanel = filePanel; }