Compare commits
No commits in common. "4a5cbe5dc712f1d06a9d6d315288c05d81b9415c" and "0fe0b8e0bf0c4077f2b5b93ce858bacc156ecedd" have entirely different histories.
4a5cbe5dc7
...
0fe0b8e0bf
@ -2310,7 +2310,7 @@ PrefabInstance:
|
|||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5348617443534978374, guid: ece2161f7d9e2a143b4ddb22c44736e1, type: 3}
|
- target: {fileID: 5348617443534978374, guid: ece2161f7d9e2a143b4ddb22c44736e1, type: 3}
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: -15.26
|
value: -10.01
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 5348617443534978374, guid: ece2161f7d9e2a143b4ddb22c44736e1, type: 3}
|
- target: {fileID: 5348617443534978374, guid: ece2161f7d9e2a143b4ddb22c44736e1, type: 3}
|
||||||
propertyPath: m_LocalRotation.w
|
propertyPath: m_LocalRotation.w
|
||||||
|
@ -59,9 +59,7 @@ public class SpawnRandomObjectsScript : MonoBehaviour
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Инстанцируем объект с случайным поворотом
|
// Инстанцируем объект с случайным поворотом
|
||||||
Transform child = Instantiate(prefab, point.Position, randomRotation).transform;
|
Instantiate(prefab, point.Position, randomRotation);
|
||||||
child.SetParent(transform);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user