Пример #1
0
    /// <summary>
    /// ボタン押した
    /// </summary>
    public void ButtonPlay()
    {
        if (UISelectManager.IsNoneMode)
        {
            return;
        }
        if (SEPlayer.IsPlaying(ButtonResName))
        {
            return;
        }

        SEPlayer.Play(ButtonResName);
    }
Пример #2
0
    // Update is called once per frame
    void Update()
    {
        if (player.IsPlaying(resName))
        {
            return;
        }

        Destroy(gameObject);
        Destroy(GameObject.Find("Explosion(Clone)"));
    }
Пример #3
0
    // Update is called once per frame
    void Update()
    {
        if (mover.IsRain)
        {
            if (Player.IsPlaying(RainResName))
            {
                return;
            }

            Player.Play(RainResName);
        }
    }
Пример #4
0
    public void SE()
    {
        if (UISelectManager.IsResetMode)
        {
            return;
        }
        if (Player.IsPlaying(shareSEResName))
        {
            return;
        }

        Player.Play(shareSEResName);
    }