public static ProdCutReceiveSlotItem Instantiate(ProdCutReceiveSlotItem prefab, Transform parent, IReward_Slotitem rewardItem, int nPanelDepth, KeyControl input)
        {
            ProdCutReceiveSlotItem prodCutReceiveSlotItem = Object.Instantiate <ProdCutReceiveSlotItem>(prefab);

            prodCutReceiveSlotItem.get_transform().set_parent(parent);
            prodCutReceiveSlotItem.get_transform().set_localScale(Vector3.get_one());
            prodCutReceiveSlotItem.get_transform().set_localPosition(Vector3.get_zero());
            prodCutReceiveSlotItem._setRewardItem(rewardItem);
            prodCutReceiveSlotItem._uiRareBG.alpha                = 0f;
            prodCutReceiveSlotItem._uiRareBG.mainTexture          = TextureFile.LoadRareBG(1);
            prodCutReceiveSlotItem.GetComponent <UIPanel>().depth = nPanelDepth;
            prodCutReceiveSlotItem._clsInput = input;
            return(prodCutReceiveSlotItem);
        }
        public static ProdCutReceiveSlotItem Instantiate(ProdCutReceiveSlotItem prefab, Transform parent, IReward_Slotitem rewardItem, int nPanelDepth, KeyControl input)
        {
            ProdCutReceiveSlotItem prodCutReceiveSlotItem = UnityEngine.Object.Instantiate(prefab);

            prodCutReceiveSlotItem.transform.parent        = parent;
            prodCutReceiveSlotItem.transform.localScale    = Vector3.one;
            prodCutReceiveSlotItem.transform.localPosition = Vector3.zero;
            prodCutReceiveSlotItem._setRewardItem(rewardItem);
            prodCutReceiveSlotItem._uiRareBG.alpha                = 0f;
            prodCutReceiveSlotItem._uiRareBG.mainTexture          = TextureFile.LoadRareBG(1);
            prodCutReceiveSlotItem.GetComponent <UIPanel>().depth = nPanelDepth;
            prodCutReceiveSlotItem._clsInput = input;
            return(prodCutReceiveSlotItem);
        }