Пример #1
0
        private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
        {
            //ask the instrument rack drawer
            //to refresh their assets

            EditorSequencerRack.FindInstruments();
        }
Пример #2
0
        public static void Initialize()
        {
            //Show existing window instance. If one doesn't exist, make one.
            var window = GetWindow <EditorSequencerRack>("Instruments");

            instance = window;
            FindInstruments();
        }
Пример #3
0
 private void OnEnable()
 {
     instance = this;
     FindInstruments();
 }