예제 #1
0
    /// <summary>
    /// 获取对应等级图标
    /// </summary>
    /// <param name="iconDataManager"></param>
    /// <returns></returns>
    public Sprite GetBedLevelIcon()
    {
        LevelTypeEnum bedLevel = GetBedLevel();
        Sprite        spIcon   = LevelTypeEnumTools.GetLevelIcon(bedLevel);

        return(spIcon);
    }
예제 #2
0
    /// <summary>
    /// 获取对应等级图标
    /// </summary>
    /// <param name="iconDataManager"></param>
    /// <returns></returns>
    public Sprite GetMenuLevelIcon()
    {
        LevelTypeEnum menuLevel = GetMenuLevel();
        Sprite        spIcon    = LevelTypeEnumTools.GetLevelIcon(menuLevel);

        return(spIcon);
    }