private void Start()
        {
            //load animation data
            ConfigurationUtils.LoadAnimationNames();
            ConfigurationUtils.LoadReadableNames();

            //music
            MusicWrapper = new MusicLogicWrapper();

            //add AppLauncher button
#if false
            var buttonTexture = GameDatabase.Instance.GetTexture("KerbalAnimationSuite/Icons/button", false);
            Button = ApplicationLauncher.Instance.AddModApplication(EnableAnimationSuite, DisableAnimationSuite, null, null, null, null, ApplicationLauncher.AppScenes.FLIGHT, buttonTexture);
#endif

            toolbarControl = gameObject.AddComponent <ToolbarControl>();
            toolbarControl.AddToAllToolbars(EnableAnimationSuite, DisableAnimationSuite,
                                            ApplicationLauncher.AppScenes.FLIGHT,
                                            MODID,
                                            "kerbalAnimationsuiteButton",
                                            "KerbalAnimationSuite/Icons/button-38",
                                            "KerbalAnimationSuite/Icons/button-24",
                                            MODNAME
                                            );
        }
        private void Start()
        {
            //load animation data
            ConfigurationUtils.LoadAnimationNames();
            ConfigurationUtils.LoadReadableNames();

            //music
            MusicWrapper = new MusicLogicWrapper();

            //add AppLauncher button
            var buttonTexture = GameDatabase.Instance.GetTexture("KerbalAnimationSuite/Icons/button", false);

            Button = ApplicationLauncher.Instance.AddModApplication(EnableAnimationSuite, DisableAnimationSuite, null, null, null, null, ApplicationLauncher.AppScenes.FLIGHT, buttonTexture);
        }
        private void Start()
        {
            //load animation data
            ConfigurationUtils.LoadAnimationNames ();
            ConfigurationUtils.LoadReadableNames ();

            //music
            MusicWrapper = new MusicLogicWrapper ();

            //add GameEvents
            GameEvents.onShowUI.Add (OnShowUI);
            GameEvents.onHideUI.Add (OnHideUI);

            //add AppLauncher button
            var buttonTexture = GameDatabase.Instance.GetTexture ("KerbalAnimationSuite/Icons/button", false);
            Button = ApplicationLauncher.Instance.AddModApplication (EnableAnimationSuite, DisableAnimationSuite, null, null, null, null, ApplicationLauncher.AppScenes.FLIGHT, buttonTexture);
        }