public static ProdBattleRewardItem Instantiate(ProdBattleRewardItem prefab, Transform parent, List <IReward> iReward, int nDepth, KeyControl input)
        {
            ProdBattleRewardItem prodBattleRewardItem = UnityEngine.Object.Instantiate(prefab);

            prodBattleRewardItem.transform.parent        = parent;
            prodBattleRewardItem.transform.localScale    = Vector3.one;
            prodBattleRewardItem.transform.localPosition = Vector3.zero;
            prodBattleRewardItem.Init();
            prodBattleRewardItem._clsInput = input;
            prodBattleRewardItem.GetComponent <UIPanel>().depth = nDepth;
            prodBattleRewardItem._iRewardList = iReward;
            prodBattleRewardItem._setRewardItem();
            prodBattleRewardItem._uiRareBG.alpha = 0f;
            prodBattleRewardItem._uiPar.Stop();
            return(prodBattleRewardItem);
        }
        public static ProdBattleRewardItem Instantiate(ProdBattleRewardItem prefab, Transform parent, List <IReward> iReward, int nDepth, KeyControl input)
        {
            ProdBattleRewardItem prodBattleRewardItem = Object.Instantiate <ProdBattleRewardItem>(prefab);

            prodBattleRewardItem.get_transform().set_parent(parent);
            prodBattleRewardItem.get_transform().set_localScale(Vector3.get_one());
            prodBattleRewardItem.get_transform().set_localPosition(Vector3.get_zero());
            prodBattleRewardItem.Init();
            prodBattleRewardItem._clsInput = input;
            prodBattleRewardItem.GetComponent <UIPanel>().depth = nDepth;
            prodBattleRewardItem._iRewardList = iReward;
            prodBattleRewardItem._setRewardItem();
            prodBattleRewardItem._uiRareBG.alpha = 0f;
            prodBattleRewardItem._uiPar.Stop();
            return(prodBattleRewardItem);
        }