Пример #1
0
    public void OnRecieve(int _num, int _tag)
    {
        if (_num == -1)
        {
            return;
        }
        switch (_tag)
        {
        case 3:
        {
            SystemScript.OpenURL(CopyrightURL [_num]);
        }
        break;

        case 8:
        {
            DataManager.Instance.BattleSpeed = _num;
            DataManager.Instance.Save();
        }
        break;
        }
    }