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