Beispiel #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);
        }
Beispiel #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);
        }