Esempio n. 1
0
 public void Open()
 {
     if (bg1 != null)
     {
         bg1.SetActive(true);
     }
     if (bg2 != null)
     {
         bg2.SetActive(true);
     }
     cu    = this;
     bOpen = true;
     //TalentSprite.defaultColor = new Color (1.0f, 1.0f, 1.0f, 1.0f);
     //TalentSprite.normalSprite = "huangxueqiu";
 }
Esempio n. 2
0
    public void Close()
    {
        if (bg1 != null)
        {
            bg1.SetActive(false);
        }
        if (bg2 != null)
        {
            bg2.SetActive(false);
        }

        cu    = null;
        bOpen = false;
        //TalentSprite.defaultColor = new Color (0.5f, 0.5f, 0.5f, 0.5f);
        //TalentSprite.normalSprite = "xueqiu";
    }