public static UIRebellionParticipatingFleetSelector Instantiate(UIRebellionParticipatingFleetSelector prefab, Transform parent)
        {
            UIRebellionParticipatingFleetSelector uIRebellionParticipatingFleetSelector = UnityEngine.Object.Instantiate(prefab);

            uIRebellionParticipatingFleetSelector.transform.parent = parent;
            uIRebellionParticipatingFleetSelector.transform.localScaleOne();
            uIRebellionParticipatingFleetSelector.transform.localPosition = uIRebellionParticipatingFleetSelector._vOriginPos;
            uIRebellionParticipatingFleetSelector.Setup();
            return(uIRebellionParticipatingFleetSelector);
        }
Beispiel #2
0
        public static UIRebellionParticipatingFleetSelector Instantiate(UIRebellionParticipatingFleetSelector prefab, Transform parent)
        {
            UIRebellionParticipatingFleetSelector uIRebellionParticipatingFleetSelector = Object.Instantiate <UIRebellionParticipatingFleetSelector>(prefab);

            uIRebellionParticipatingFleetSelector.get_transform().set_parent(parent);
            uIRebellionParticipatingFleetSelector.get_transform().localScaleOne();
            uIRebellionParticipatingFleetSelector.get_transform().set_localPosition(uIRebellionParticipatingFleetSelector._vOriginPos);
            uIRebellionParticipatingFleetSelector.Setup();
            return(uIRebellionParticipatingFleetSelector);
        }