cull(engine-cleanup): pass-8 phase-2 cascade round 1 after GachaUI stub
This commit is contained in:
@@ -111,15 +111,6 @@ public class RewardBase : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void SetCardDetailUI(CardDetailUI detail)
|
||||
{
|
||||
if (detail != null)
|
||||
{
|
||||
CardDetail = detail;
|
||||
CardDetailRoot.SetActive(value: false);
|
||||
}
|
||||
}
|
||||
|
||||
public void Awake()
|
||||
{
|
||||
SystemText systemText = Data.SystemText;
|
||||
@@ -184,16 +175,6 @@ public class RewardBase : MonoBehaviour
|
||||
AddReward((UserGoods.Type)r.reward_type, r.rewardUserGoodsId, r.reward_count);
|
||||
}
|
||||
|
||||
public NguiObjs AddReward(Wizard.Scripts.Network.Data.TaskData.Arena.Reward r)
|
||||
{
|
||||
return AddReward(r.UserGoodsData.GoodsType, r.UserGoodsData.Id, r.num);
|
||||
}
|
||||
|
||||
public void AddReward(ShopCommonRewardInfo shopCommonRewardInfo)
|
||||
{
|
||||
AddReward((UserGoods.Type)shopCommonRewardInfo.Type, shopCommonRewardInfo.UserGoodsId, shopCommonRewardInfo.Num);
|
||||
}
|
||||
|
||||
private void _LoadAndSetRewardTex(string strFileName, ResourcesManager.AssetLoadPathType pathType, UITexture tex, List<string> loadedPathList)
|
||||
{
|
||||
string strPath = Toolbox.ResourcesManager.GetAssetTypePath(strFileName, pathType);
|
||||
@@ -230,12 +211,6 @@ public class RewardBase : MonoBehaviour
|
||||
return component;
|
||||
}
|
||||
|
||||
public void ChangeRewardTextureSize(NguiObjs rewardObj, int width, int height)
|
||||
{
|
||||
rewardObj.textures[0].width = width;
|
||||
rewardObj.textures[0].height = height;
|
||||
}
|
||||
|
||||
public NguiObjs AddReward(UserGoods.Type type, long userGoodsId, int number)
|
||||
{
|
||||
NguiObjs nguiObjs = null;
|
||||
@@ -446,11 +421,6 @@ public class RewardBase : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void SetActiveRewardLabel(bool isShow)
|
||||
{
|
||||
RewardLabel.gameObject.SetActive(isShow);
|
||||
}
|
||||
|
||||
public void SetTitleLabel(bool isEnabled, string title = null)
|
||||
{
|
||||
_labelTitle.gameObject.SetActive(isEnabled);
|
||||
|
||||
Reference in New Issue
Block a user