Ejemplo n.º 1
0
    public void BeginGame()
    {
        music.playFromBeginning(preStart);
        patternMaster.Play(preStartMS);

        Messenger.AddListener(MessengerKeys.TOGGLE_MENU, MenuToggled);
    }
    public void Play()
    {
        Debug.Log("Playing");
        TimeMaster time = TimeMaster.Instance;

        int delay = 1;

        music.playFromBeginning(delay);
        calibrator.Play(delay * 1000 + time.GetTime());
    }