📅  最后修改于: 2022-03-11 14:48:40.907000             🧑  作者: Mango
GameObject newObject = Instantiate(objectPrefab, location, Quaternion.identity) as GameObject; // instatiate the object
newObject.transform.localscale = new Vector3(whatever.x, whatever.y, whatever.z); // change its local scale in x y z format