示例#1
0
 public void SetMoneyBarShowType(MoneyBarType type)
 {
     if (mMoneyBar != null)
     {
         mMoneyBar.SetShowType(type);
     }
 }
示例#2
0
    public void SetShowType(MoneyBarType showType)
    {
        Init();

        for (int i = 0, j = (int)MoneyBarType.Max; i < j; i++)
        {
            GameObject go = getGameobjectBySortid(i);
            go.SetActive((MoneyBarType)i == showType);
        }

        grid.repositionNow = true;
    }