示例#1
0
        public override void Generate()
        {
            _instance = this;
            ManageFiles();

            //REGISTER YOUR MANAGERS ABOVE THIS//
            Locator.Register <BackgroundManager>(new BackgroundManager());
            Locator.Register <ExampleManager>(new ExampleManager());
            Locator.Register <ParticleManager>(new ParticleManager());
            Locator.Register <ParticleMaskManager>(new ParticleMaskManager());
            Locator.Register <CreditManager>(new CreditManager());
            Locator.Register <ForegroundManager>(new ForegroundManager());
            Locator.Register <LyricManager>(new LyricManager());
            Locator.Register <TransitionManager>(new TransitionManager());
            Locator.Register <OsbManager>(new OsbManager());

            //INSTANCIATE YOUR SECTIONS IN THIS ARRAY//
            Section[] instanciatedSections =
            {
                new BackgroundSection(),
                new ParticleSection(),
                new ParticleMaskSection(),
                new CreditSection(),
                new OsbSection(),
                new ForegroundSection(),
                new TransitionSection(),
            };
        }