private void PlayAUDIO(AUDIO audio)
 {
     if (!skip)
     {
         SoundManager.PlayOneShotUISE((int)audio);
     }
 }
 protected void PlayAudio(AUDIO audio)
 {
     if (!skip)
     {
         SoundManager.PlayOneShotUISE((int)audio);
     }
 }
示例#3
0
    //void STATE_Items() {
    //    if (changedState) {
    //        traceCheats("ITEMS: Add [H]elm, [C]hest, [G]loves, [B]oots, -R-elic, [W]eapon" + _EST_TO_EXIT);
    //    }

    //    ItemData randomItemData = null;

    //    IPromise<NodeResponse> promise = null;

    //    if (Input.GetKeyDown(KeyCode.H)) {
    //        AUDIO.Play(SFX_UI.Click);
    //        randomItemData = DATAMAN.GetRandomItemType(EquipmentType.Helm);
    //    }

    //    if (Input.GetKeyDown(KeyCode.C)) {
    //        AUDIO.Play(SFX_UI.Click);
    //        randomItemData = DATAMAN.GetRandomItemType(EquipmentType.Chest);
    //    }

    //    if (Input.GetKeyDown(KeyCode.G)) {
    //        AUDIO.Play(SFX_UI.Click);
    //        randomItemData = DATAMAN.GetRandomItemType(EquipmentType.Gloves);
    //    }

    //    if (Input.GetKeyDown(KeyCode.B)) {
    //        AUDIO.Play(SFX_UI.Click);
    //        randomItemData = DATAMAN.GetRandomItemType(EquipmentType.Boots);
    //    }

    //    if (Input.GetKeyDown(KeyCode.R)) {
    //        AUDIO.Play(SFX_UI.Invalid);
    //        traceError("Relics not implemented yet!");
    //        return;
    //        //promise = API.ItemRandomize(EquipmentType.Relic, 1);
    //        //randomItemData = DATAMAN.GetRandomItemType(EquipmentType.Artifact);
    //    }

    //    if (Input.GetKeyDown(KeyCode.W)) {
    //        AUDIO.Play(SFX_UI.Click);
    //        randomItemData = DATAMAN.GetRandomItemType(EquipmentType.Weapon);
    //    }

    //    Item item = null;
    //    if (randomItemData != null) {
    //        item = new Item(randomItemData, GAMEMAN.GetSeed(), GAMEMAN.GetSeed(), GAMEMAN.GetSeed(), GAMEMAN.GetSeed(), Rand.Range(0f, 100f), 20f, 0f);
    //        promise = API.Items.Add(item);
    //    }

    //    if (promise != null) {
    //        promise.Then(res => {
    //            traceCheats("Item added!");
    //            trace(res.pretty);
    //            DATAMAN.allItemsList.Add(item);
    //        }).Catch(err => {
    //            traceError("Oh no! Item couldn't be added!");
    //        });
    //    }
    //}

    //void STATE_Heroes() {
    //    if (changedState) {
    //        traceCheats("HEROES: Add [H]ero" + _EST_TO_EXIT);
    //    }

    //    Hero hero = null;
    //    IPromise<NodeResponse> promise = null;

    //    if (Input.GetKeyDown(KeyCode.H)) {
    //        AUDIO.Play(SFX_UI.ShardsChing);
    //        hero = new Hero(DATAMAN.heroDataList.GetRandom(), GAMEMAN.GetSeed());
    //        promise = API.Heroes.Add(hero);
    //    }

    //    if (promise != null) {
    //        promise.Then(res => {
    //            traceCheats("Hero added!");
    //            trace(res.pretty);
    //            DATAMAN.allHeroesList.Add(hero);
    //        }).Catch(err => {
    //            traceError("Oh no! Hero couldn't be added!");
    //        });
    //    }
    //}

    void STATE_LootCrates()
    {
        if (changedState)
        {
            traceCheats("LOOT-CRATES: Add [L]ootCrate" + _EST_TO_EXIT);
        }

        LootCrate lootCrate             = null;
        IPromise <NodeResponse> promise = null;

        if (Input.GetKeyDown(KeyCode.L))
        {
            AUDIO.Play(SFX_UI.ShardsChing);
            var lootTable = DATAMAN.lootTableDataList.GetByIdentity("lt_zone_training_1");

            lootCrate = new LootCrate(lootTable.Identity, 20f, 20f, DataManager.Instance.crateTypeDataList.GetRandom());
            promise   = API.LootCrates.Add(lootCrate);
        }

        if (promise != null)
        {
            promise.Then(res => {
                traceCheats("LootCrate added!");
                trace(res.pretty);
                DATAMAN.allLootCratesList.Add(lootCrate);
            }).Catch(err => {
                traceError("Oh no! LootCrate couldn't be added!");
            });
        }
    }
示例#4
0
    private void DoEscapeKey()
    {
        bool changed = _currentState != STATE_Main;

        if (_isShifted)
        {
            if (!_isDeletingPlayerPrefs)
            {
                _isDeletingPlayerPrefs = true;
                traceCheats("CAUTION: Do you really wish to delete ALL player prefs?");
                return;
            }

            PlayerPrefs.DeleteAll();
            traceCheats("ALL PLAYER PREFS DELETED");
            changed = true;
        }

        _isDeletingPlayerPrefs = false;

        if (!changed)
        {
            return;
        }

        AUDIO.Play(SFX_UI.Explosion);
        MenuManager.Instance.UIRoot.GetChild(0).DOShakePosition(0.4f, 30, 30);
        _currentState = STATE_Main;
    }
示例#5
0
    private void OnTriggerEnter(Collider other)
    {
        if (other.CompareTag("Rock"))
        {
            GM.SetLife(-1);
            GM.SetDeath(+1);
            AUDIO.PlaySoundOnce(0);

            //Оповещение что игрок умер
            EventManager.OnAction("PlayerDie");

            Destroy(destroyObject);
        }

        if (other.CompareTag("UFO"))
        {
            GM.SetLife(-1);
            GM.SetDeath(+1);
            AUDIO.PlaySoundOnce(0);

            //Оповещение что игрок умер
            EventManager.OnAction("PlayerDie");
            Destroy(destroyObject);
        }
    }
示例#6
0
    // 音量変更用関数
    public void SetVolume(AUDIO type, float volume)
    {
        switch (type)
        {
        case AUDIO.SYSTEMSE:
            _mixer.SetFloat("SystemSEVolume", Mathf.Lerp(-80, 0, volume));
            break;

        case AUDIO.GAMESE:
            _mixer.SetFloat("GameSEVolume", Mathf.Lerp(-80, 0, volume));
            break;

        case AUDIO.BGM:
            _mixer.SetFloat("BGMSEVolume", Mathf.Lerp(-80, 0, volume));
            break;

        case AUDIO.VOICE:
            _mixer.SetFloat("VOICEVolume", Mathf.Lerp(-80, 0, volume));
            break;

        case AUDIO.MAX:
        default:
            break;
        }
    }
 private void PlayAudio(AUDIO type)
 {
     if (MonoBehaviourSingleton <SoundManager> .IsValid())
     {
         SoundManager.PlayOneShotUISE((int)type);
     }
 }
示例#8
0
    /// <summary>
    /// Разрушение лазером
    /// </summary>
    public void OnLaserDestroy()
    {
        AUDIO.PlaySoundOnce(0);
        GM.SetScore(1);
        SpawnerController spawner = this.GetComponentInParent <SpawnerController>();

        spawner.OnSpawnSmallRock(TR.position);
        Destroy(this.gameObject);
    }
示例#9
0
        private void PlaySovietNationalAnthem(GraphicGrid graphicGrid)
        {
            DirectoryInfo info      = new DirectoryInfo(Environment.CurrentDirectory);
            string        resources = Path.Combine(info.Parent.Parent.FullName, "Resources");
            string        path      = Path.Combine(resources, "CCCP_1977.mp3");

            AUDIO.OPEN(path);
            AUDIO.SET_VOLUME(path, 91);
            AUDIO.PLAY(path, true);
        }
    private void PlayAUDIOFlash(FLASH_TYPE flash)
    {
        AUDIO audio = AUDIO.FLASH_RARITY_01;

        if (flash > FLASH_TYPE.GREEN)
        {
            audio = AUDIO.FLASH_RARITY_02;
        }
        PlayAUDIO(audio);
    }
示例#11
0
    void Awake()
    {
        BULLET         = (GameObject)Resources.Load("BulletAnim");
        DAMAGE_TEXT    = (GameObject)Resources.Load("DamageText");
        EXPLOSION      = (GameObject)Resources.Load("Explosion");
        EXPLOSION2     = (GameObject)Resources.Load("Explosion2");
        HIT_IMPACT     = (GameObject)Resources.Load("HitImpact");
        BULLET_SHOTGUN = (GameObject)Resources.Load("Bullet_Shotgun");

        audio = GetComponent <AUDIO>();
    }
示例#12
0
 private void Awake()
 {
     if (s_Instance == null)
     {
         s_Instance = this; DontDestroyOnLoad(this);
     }
     else
     {
         return;
     }
 }
示例#13
0
    void Awake()
    {
        if (instance != null && instance != this)
        {
            Destroy(this.gameObject);
            return;
        }
        else
        {
            instance = this;
        }

        DontDestroyOnLoad(this.gameObject);
    }
示例#14
0
    private void Update()
    {
        //Управление
        float playerMoveH = Input.GetAxis("Horizontal");
        float playerMoveV = Input.GetAxis("Vertical");

        speed = playerMoveV * SpeedMove * Time.deltaTime;
        if (playerMoveV > 0)
        {
            direction = -model.up;
        }
        Vector3 velocity = direction * speed;

        //Движение в направлении
        if (playerMoveV > 0)
        {
            rb3D.AddForce(velocity, ForceMode.Impulse);
        }

        //Поворот персонажа
        model.Rotate(new Vector3(0, 0, -playerMoveH * SpeedRotate));

        //Ограничитель скорости
        if (rb3D.velocity.magnitude > SpeedMax)
        {
            rb3D.velocity = rb3D.velocity.normalized * SpeedMax;
        }

        //Синхронизация положения тела и модели т.к. модель может вертеться как голова
        model.position = rb3D.position;

        //Расшариваем позицию игрока
        GM.PlayerPos = model.position;

        //Стрельба пулями
        if (Input.GetKeyDown(KeyCode.Space))
        {
            AUDIO.PlaySoundOnce(2);
            spawner.OnSpawnPrefab(0, model.position, model.rotation);
        }

        //Стрельба лазером
        if (Input.GetKeyDown(KeyCode.F) && GM.GameData.Laser > 0)
        {
            AUDIO.PlaySoundOnce(1);
            GM.SetLaser(-1);
            spawner.OnSpawnPrefab(1, model.position, model.rotation);
        }
    }
示例#15
0
    void STATE_Testing()
    {
        if (changedState)
        {
            traceCheats("TESTING: Always make [U]nidentified Items, [H]ero Remove 1st, Skip to [B]oss Battle");
        }

        IPromise <NodeResponse> promise = null;

        if (Input.GetKeyDown(KeyCode.U))
        {
            ALWAYS_CREATE_AS_UNIDENTIFIED = !ALWAYS_CREATE_AS_UNIDENTIFIED;
            trace("ALWAYS_CREATE_AS_UNIDENTIFIED: " + ALWAYS_CREATE_AS_UNIDENTIFIED);
            AudioManager.Instance.Play(ALWAYS_CREATE_AS_UNIDENTIFIED ? SFX_UI.Coin : SFX_UI.Explosion);
        }

        if (Input.GetKeyDown(KeyCode.B))
        {
            foreach (ActiveExploration exploration in DATAMAN.allExplorationsList)
            {
                exploration.AccumulatedDamage += exploration.Zone.ZoneHP * 2f;
                promise = API.Explorations.Update(exploration)
                          .Then(res => {
                    trace("Explorations Updates.");
                });
            }
        }

        if (Input.GetKeyDown(KeyCode.H))
        {
            promise = API.Heroes.Remove(DATAMAN.allHeroesList[0])
                      .Then(res => {
                DATAMAN.allHeroesList.RemoveAt(0);
            });
        }

        if (promise != null)
        {
            promise.Then(res => {
                traceCheats("Testing data.");
                trace(res.pretty);
                AUDIO.Play(SFX_UI.WooshOut);
            })
            .Catch(err => {
                traceError("Error running Cheat command: " + err.Message);
            });
        }
    }
示例#16
0
    // Start is called before the first frame update
    void Start()
    {
        // Dictionaryタイプ
        _sourcDictionary = new Dictionary <AUDIO, AudioSource>();
        AUDIO type = AUDIO.SYSTEMSE;

        foreach (Transform child in transform)
        {
            // GetComponet&nullチェック
            if (child.TryGetComponent(out AudioSource source))
            {
                Debug.Log(type + " = " + source.gameObject.name);
                _sourcDictionary.Add(type, source);
                // タイプを一つ進める
                type++;
            }
        }
    }
示例#17
0
    public void PlayRarityAudio(RARITY_TYPE rarity_type, bool ignore_skip_check = false)
    {
        AUDIO audio = AUDIO.RARITY_LOW;

        switch (rarity_type)
        {
        case RARITY_TYPE.A:
            audio = AUDIO.RARITY_MID;
            break;

        case RARITY_TYPE.S:
        case RARITY_TYPE.SS:
        case RARITY_TYPE.SSS:
            audio = AUDIO.RARITY_HIGH_0;
            break;
        }
        PlayAudio(audio, ignore_skip_check);
    }
示例#18
0
 /// <summary>
 /// Разрушение пулей
 /// </summary>
 public void OnBulletDestroy()
 {
     //Уничтожение и разброс мелких
     if (TypeRock == 0)
     {
         AUDIO.PlaySoundOnce(0);
         GM.SetScore(1);
         SpawnerController spawner = this.GetComponentInParent <SpawnerController>();
         spawner.OnSpawnMediumRock(TR.position);
         Destroy(this.gameObject);
     }
     else if (TypeRock == 1)
     {
         AUDIO.PlaySoundOnce(0);
         GM.SetScore(1);
         SpawnerController spawner = this.GetComponentInParent <SpawnerController>();
         spawner.OnSpawnSmallRock(TR.position);
         Destroy(this.gameObject);
     }
 }
示例#19
0
 private void PlaySound(AUDIO sound)
 {
     audioSource.PlayOneShot(audioList[(int)sound]);
 }
示例#20
0
    void STATE_WipeData()
    {
        if (changedState)
        {
            traceCheats("WIPE-DATA: [I]tems, [H]eroes, [C]urrency, , E[x]plorations, [B]oost slots, Hero.explorationAct[Z]one, [A]ll");
        }

        IPromise <NodeResponse> promise = null;

        string which = "all";

        if (Input.GetKeyDown(KeyCode.I))
        {
            which   = "Items";
            promise = API.Items.RemoveAll();
        }

        if (Input.GetKeyDown(KeyCode.H))
        {
            which   = "Heroes";
            promise = API.Heroes.RemoveAll();
        }

        if (Input.GetKeyDown(KeyCode.C))
        {
            which   = "Currencies";
            promise = API.Currency.Reset();
        }

        if (Input.GetKeyDown(KeyCode.X))
        {
            which   = "Explorations";
            promise = API.Explorations.RemoveAll();
        }

        if (Input.GetKeyDown(KeyCode.B))
        {
            which   = "Boost Slots";
            promise = API.Users.BoostClearAll();
        }

        if (Input.GetKeyDown(KeyCode.Z))
        {
            which   = "Hero's Exploration Zones";
            promise = API.Heroes.ResetExplorations();
        }

        if (Input.GetKeyDown(KeyCode.A))
        {
            which = "All (n/a)";
            trace("not implemented yet.");
        }

        if (promise != null)
        {
            promise.Then(res => {
                traceCheats("Cleared data for: " + which);
                trace(res.pretty);
                AUDIO.Play(SFX_UI.Explosion);
            })
            .Catch(err => {
                traceError("Error running Cheat command: " + err.Message);
            });
        }
    }
示例#21
0
 protected void PlayAudio(AUDIO audio)
 {
     PlayAudio(audio, false);
 }
示例#22
0
    void STATE_Currency()
    {
        int COIN_AMOUNT    = 1000;
        int SCROLLS_AMOUNT = 10;
        int SHARDS_AMOUNT  = 10;
        int RELIC_AMOUNT   = 10;
        int ESSENCE_AMOUNT = 10;
        int BOOST_AMOUNT   = 1;

        if (changedState)
        {
            traceCheats("CURRENCY: Add " + COIN_AMOUNT +
                        " of [G]old, G[e]ms, Scrolls-[I]dentify, Scrolls-[S]ummon, Scrolls-[M]onster, [B]oosts, [A]ll" +
                        _EST_TO_EXIT);
        }

        IPromise <NodeResponse> promise = null;

        if (Input.GetKeyDown(KeyCode.G))
        {
            AUDIO.Play(SFX_UI.Coin);
            promise = API.Currency.AddCurrency(CurrencyTypes.GOLD, COIN_AMOUNT);
        }

        if (Input.GetKeyDown(KeyCode.E))
        {
            AUDIO.Play(SFX_UI.ShardsChing);
            promise = API.Currency.AddCurrency(CurrencyTypes.GEMS, COIN_AMOUNT);
        }

        if (Input.GetKeyDown(KeyCode.I))
        {
            AUDIO.Play(SFX_UI.Identify);
            promise = API.Currency.AddCurrency(CurrencyTypes.SCROLLS_IDENTIFY, SCROLLS_AMOUNT);
        }

        if (Input.GetKeyDown(KeyCode.S))
        {
            AUDIO.Play(SFX_UI.WooshIn);

            var cost = new CurrencyManager.Cost();
            cost.AddOrSet(CurrencyTypes.SCROLLS_IDENTIFY, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_COMMON, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_RARE, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_DARK, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_FIRE, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_LIGHT, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_WATER, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_NATURE, SCROLLS_AMOUNT);

            promise = API.Currency.AddCurrency(cost);
        }

        if (Input.GetKeyDown(KeyCode.M))
        {
            AUDIO.Play(SFX_UI.WooshIn);
            promise = API.Currency.AddCurrency(CurrencyTypes.SCROLLS_SUMMON_MONSTER_DARK, SCROLLS_AMOUNT);
        }

        if (Input.GetKeyDown(KeyCode.B))
        {
            AUDIO.Play(SFX_UI.PageFlip);

            var boostCost = new CurrencyManager.BoostCost();
            boostCost.AddOrSet(BoostType.Gold, BOOST_AMOUNT);
            boostCost.AddOrSet(BoostType.MagicFind, BOOST_AMOUNT);
            boostCost.AddOrSet(BoostType.Health, BOOST_AMOUNT);
            boostCost.AddOrSet(BoostType.XP, BOOST_AMOUNT);

            promise = API.Users.BoostAddCurrency(boostCost);
        }

        if (Input.GetKeyDown(KeyCode.A))
        {
            AUDIO.Play(SFX_UI.ShardsChing);
            var cost = new CurrencyManager.Cost();
            cost.AddOrSet(CurrencyTypes.GOLD, COIN_AMOUNT);
            cost.AddOrSet(CurrencyTypes.GEMS, COIN_AMOUNT);
            cost.AddOrSet(CurrencyTypes.MAGIC_ORBS, COIN_AMOUNT);

            cost.AddOrSet(CurrencyTypes.ESSENCE_HIGH, ESSENCE_AMOUNT);
            cost.AddOrSet(CurrencyTypes.ESSENCE_LOW, ESSENCE_AMOUNT);
            cost.AddOrSet(CurrencyTypes.ESSENCE_MID, ESSENCE_AMOUNT);

            cost.AddOrSet(CurrencyTypes.SCROLLS_IDENTIFY, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_COMMON, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_RARE, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_DARK, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_FIRE, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_LIGHT, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_WATER, SCROLLS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SCROLLS_SUMMON_MONSTER_NATURE, SCROLLS_AMOUNT);

            cost.AddOrSet(CurrencyTypes.SHARDS_ITEMS_COMMON, SHARDS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SHARDS_ITEMS_MAGIC, SHARDS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SHARDS_ITEMS_RARE, SHARDS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.SHARDS_ITEMS_RARE, SHARDS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.XP_FRAGMENT, SHARDS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.XP_FRAGMENT, SHARDS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.XP_FRAGMENT_PLUS, SHARDS_AMOUNT);
            cost.AddOrSet(CurrencyTypes.XP_FRAGMENT_PLUS, SHARDS_AMOUNT);

            cost.AddOrSet(CurrencyTypes.RELICS_BOW, RELIC_AMOUNT);
            cost.AddOrSet(CurrencyTypes.RELICS_SHIELD, RELIC_AMOUNT);
            cost.AddOrSet(CurrencyTypes.RELICS_STAFF, RELIC_AMOUNT);
            cost.AddOrSet(CurrencyTypes.RELICS_SWORD, RELIC_AMOUNT);

            var boostCost = new CurrencyManager.BoostCost();
            boostCost.AddOrSet(BoostType.Gold, BOOST_AMOUNT);
            boostCost.AddOrSet(BoostType.MagicFind, BOOST_AMOUNT);
            boostCost.AddOrSet(BoostType.Health, BOOST_AMOUNT);
            boostCost.AddOrSet(BoostType.XP, BOOST_AMOUNT);

            promise = API.Users.BoostAddCurrency(boostCost)
                      .Then(res => {
                traceCheats("Boost Currency set: " + res.pretty);
                return(API.Currency.AddCurrency(cost));
            });
        }

        if (promise != null)
        {
            promise.Then(res => {
                traceCheats("Currency set: " + res.pretty);
            });
        }
    }
示例#23
0
    protected void PlayAppearAudio(RARITY_TYPE rarity_type, bool is_short)
    {
        AUDIO audio = (!is_short) ? AUDIO.APEAR_LONG : AUDIO.APEAR_SHORT;

        PlayAudio(audio);
    }
示例#24
0
 public void PLAY(AUDIO action)
 {
     //_audioSource.clip = _audioClips [(int)action];
     _audioSource.PlayOneShot(_audioClips [(int)action]);
 }
示例#25
0
 public void Stop(AUDIO type)
 {
     _sourcDictionary[type].Stop();
 }
示例#26
0
 // サウンド再生(重複なし)
 public void PlayOneShot(AudioClip clip, AUDIO type)
 {
     _sourcDictionary[type].PlayOneShot(clip);
 }
示例#27
0
 public AudioSequeceData(float _delay, AUDIO _audio)
 {
     delay  = _delay;
     SEType = _audio;
 }
示例#28
0
 /// <summary>
 /// Спавн летающей тарелки
 /// </summary>
 public void OnSpawnUFO()
 {
     AUDIO.PlaySoundOnce(3);
     spawner.OnSpawnPrefab(4, new Vector3(GetFreePosX(), GM.PlayerPos.y, 0f));
 }
示例#29
0
 // サウンド再生(重複あり)
 public void Play(AUDIO type, ulong delay = 0)
 {
     _sourcDictionary[type].Play(delay);
 }
示例#30
0
 private void PlayAudio(AUDIO type)
 {
     SoundManager.PlayOneShotUISE((int)type);
 }