public static ProdDetectionResultCutIn Instantiate(ProdDetectionResultCutIn prefab, Transform parent, SakutekiModel model)
        {
            ProdDetectionResultCutIn prodDetectionResultCutIn = Object.Instantiate <ProdDetectionResultCutIn>(prefab);

            prodDetectionResultCutIn.get_transform().set_parent(parent);
            prodDetectionResultCutIn.get_transform().set_localScale(Vector3.get_zero());
            prodDetectionResultCutIn.get_transform().set_localPosition(Vector3.get_zero());
            prodDetectionResultCutIn.setDetection(prodDetectionResultCutIn.getDetectionProductionType(model));
            return(prodDetectionResultCutIn);
        }
Beispiel #2
0
        public static ProdDetectionResultCutIn Instantiate(ProdDetectionResultCutIn prefab, Transform parent, SakutekiModel model)
        {
            ProdDetectionResultCutIn prodDetectionResultCutIn = UnityEngine.Object.Instantiate(prefab);

            prodDetectionResultCutIn.transform.parent        = parent;
            prodDetectionResultCutIn.transform.localScale    = Vector3.zero;
            prodDetectionResultCutIn.transform.localPosition = Vector3.zero;
            prodDetectionResultCutIn.setDetection(prodDetectionResultCutIn.getDetectionProductionType(model));
            return(prodDetectionResultCutIn);
        }