Esempio n. 1
0
    private void Start()
    {
        //currentPlayer = MoviePlayer1;
        //prevPlayer = MoviePlayer2;

        stateIntroSlide();
        foreach (AnimationState ass in slides.animation)
        {
            ass.normalizedSpeed = 0;
            ass.normalizedTime  = 0;
        }
        setCurrentSlidesTextures(Textures.GetSlides(0));
        setNextSlidesTextures(Textures.GetSlides(0));
        Punch.OnExplosion  += OnExplosion;
        LeftSwipe.OnSwipe  += OnSwipe;
        RightSwipe.OnSwipe += OnSwipe;
        LeftSwipe.Deactivate();
        RightSwipe.Deactivate();
    }