Ejemplo n.º 1
0
        public static ProdNightRadarDeployment Instantiate(ProdNightRadarDeployment prefab, Transform parent)
        {
            ProdNightRadarDeployment prodNightRadarDeployment = UnityEngine.Object.Instantiate(prefab);

            prodNightRadarDeployment.transform.parent = parent;
            prodNightRadarDeployment.transform.localScaleOne();
            prodNightRadarDeployment.transform.localPositionZero();
            prodNightRadarDeployment.Init();
            return(prodNightRadarDeployment);
        }
Ejemplo n.º 2
0
        public static ProdNightRadarDeployment Instantiate(ProdNightRadarDeployment prefab, Transform parent)
        {
            ProdNightRadarDeployment prodNightRadarDeployment = Object.Instantiate <ProdNightRadarDeployment>(prefab);

            prodNightRadarDeployment.get_transform().set_parent(parent);
            prodNightRadarDeployment.get_transform().localScaleOne();
            prodNightRadarDeployment.get_transform().localPositionZero();
            prodNightRadarDeployment.Init();
            return(prodNightRadarDeployment);
        }