feat(prefab): update Trooper prefab with new properties

Add new transform properties to the Trooper prefab, including 
local position and rotation values. Update the prefab instance 
to include a new child object and modify the main camera 
reference. Set the Trooper's active state to false to 
improve performance and organization in the scene.
This commit is contained in:
Константин Адер 2025-02-09 01:04:00 +03:00
parent 0f90915be5
commit 79b6dc24af

View File

@ -46,7 +46,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 81238d9edefd1cb489822146d154d551, type: 3}
m_Name:
m_EditorClassIdentifier:
_mainCam: {fileID: 0}
_mainCam: {fileID: 7020821141455985088}
_debugRayDistance: 5
_debugRayDuration: 2
_range: 100
@ -480,6 +480,7 @@ Transform:
m_Children:
- {fileID: 8694055787479681612}
- {fileID: 813103327022279614}
- {fileID: 8921414237742116805}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &4495406162367756659
@ -904,6 +905,10 @@ PrefabInstance:
propertyPath: m_Name
value: Trooper
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 8da71485de94d1b41b4313f7bad3d45e, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@ -935,3 +940,68 @@ Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 8da71485de94d1b41b4313f7bad3d45e, type: 3}
m_PrefabInstance: {fileID: 919297649786784853}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8954708046584891438
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 8813789208874013878}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
propertyPath: m_Name
value: Trooper2
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects:
- {fileID: -5548487049614719619, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
- {fileID: 5607595506004743440, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
- {fileID: 7668611685468581109, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
--- !u!4 &8921414237742116805 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 9746daed4c2ed9a44948607d0850d415, type: 3}
m_PrefabInstance: {fileID: 8954708046584891438}
m_PrefabAsset: {fileID: 0}