private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { //ask the instrument rack drawer //to refresh their assets EditorSequencerRack.FindInstruments(); }
public static void Initialize() { //Show existing window instance. If one doesn't exist, make one. var window = GetWindow <EditorSequencerRack>("Instruments"); instance = window; FindInstruments(); }
private void OnEnable() { instance = this; FindInstruments(); }