Ejemplo n.º 1
0
 public static void Initial()
 {
     if (cp1 == null)
     {
         cp1 = new Chupai1();
     }
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     if (cp1 != null)
     {
         return;
     }
     cp1 = this;
 }
Ejemplo n.º 3
0
    public void onUseCard(object data)
    {
        int cardID = int.Parse(data.ToString()) + 1;

        Debug.Log("开始渲染");
        Chupai1.Initial();
        Chupai1.cp1.RefreshIn();
        if (cardID > 0)
        {
            ShowShoupai.showshoupai(cardID);
        }
    }
Ejemplo n.º 4
0
 public void onRemoveHandCard()
 {
     Chupai1.Initial();
     Chupai1.cp1.RefreshShoupai();
 }