Ejemplo n.º 1
0
    public void CheckTap()
    {
        if (Touch.activeFingers.Count == 1)
        {
            Touch activeTouch = Touch.activeFingers[0].currentTouch;

            if (activeTouch.isTap)
            {
                if (TextPlayer.instance.SourcesPlaying())
                {
                    TextPlayer.instance.StopAudio();
                }
                else if (ShiftManagementScript.state == BattleState.PLAYERTURN)
                {
                    StartCoroutine(fightManagerScript.PlayGameStatus());
                }
            }
        }
    }