public override void LoadContent(bool firstLoad)
        {
            _SpriteBank = new SpriteBank(GFX.Game, "Graphics/CommunalHelper/Sprites.xml");

            StationBlock.InitializeParticles();
            StationBlockTrack.InitializeTextures();
            TrackSwitchBox.InitializeParticles();

            DreamTunnelRefill.InitializeParticles();
            DreamTunnelDash.InitializeParticles();

            DreamMoveBlock.InitializeParticles();
            DreamSwitchGate.InitializeParticles();

            ConnectedMoveBlock.InitializeTextures();
            ConnectedSwapBlock.InitializeTextures();

            HeartGemShard.InitializeParticles();

            Melvin.InitializeTextures();
            Melvin.InitializeParticles();

            RailedMoveBlock.InitializeTextures();
            DreamBooster.InitializeParticles();

            DreamJellyfish.InitializeTextures();
            DreamJellyfish.InitializeParticles();

            Chain.InitializeTextures();
        }
Ejemplo n.º 2
0
 public void GameStart()
 {
     isGameStart = true;
     m_melvin    = Instantiate(melvinPrefab, melvinSpawnPoint.position, Quaternion.identity).GetComponent <Melvin>();
 }