Ejemplo n.º 1
0
    //胡牌后执行的动画
    public void huAnimation(int mjrm)
    {
        //bool isActivity = true;
        actionAnimation.isDisappear = false;
        Image  image  = actionAnimation.GetComponent <Image>();
        Sprite sprite = BundleManager.Instance.GetSprite("majiang_pic_" + mjrm, MaJangPage.Instance.GetSpriteAB());

        image.sprite = sprite;
        PlaySound(GetSoundType("mj" + mjrm));
        if (sprite != null)
        {
            image.SetNativeSize();
            actionAnimation.gameObject.SetActive(true);
        }
    }
 public void FreshMatchInfo(CurrentMatcherInfoResp resp)
 {
     bisaiLbShow.GetComponent <Text>().text = resp.stage;
     //matchInfoPanel.FreshData(resp);
 }