Weapon pickup

+ started pickup weapon script
This commit is contained in:
Noah4ever
2021-11-15 12:53:19 +01:00
parent dac1384e94
commit f9527c17fd
5 changed files with 95 additions and 57 deletions

View File

@@ -483,6 +483,7 @@ GameObject:
- component: {fileID: -7261721819113345487}
- component: {fileID: 8957579265169979397}
- component: {fileID: 3965891812990671158}
- component: {fileID: 8357986889675898169}
m_Layer: 0
m_Name: Player Animation Test
m_TagString: Player
@@ -860,6 +861,23 @@ MonoBehaviour:
- m_Rig: {fileID: 8865635171929772803}
m_Active: 1
m_Effectors: []
--- !u!114 &8357986889675898169
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6272346181302961293}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 98dadd30ba25ec34db3b45d0dca2827b, type: 3}
m_Name:
m_EditorClassIdentifier:
syncMode: 0
syncInterval: 0.1
currentWeaponIndex: 0
activeWeapons: []
cam: {fileID: 6272346181657429395}
--- !u!1 &6272346181657429393
GameObject:
m_ObjectHideFlags: 0
@@ -1179,10 +1197,18 @@ PrefabInstance:
propertyPath: m_Name
value: M92
objectReference: {fileID: 0}
- target: {fileID: 5071598280516985511, guid: bd217f9f85ce78e46a925776562625e8, type: 3}
propertyPath: m_TagString
value: Weapon
objectReference: {fileID: 0}
- target: {fileID: 5204381087217674634, guid: bd217f9f85ce78e46a925776562625e8, type: 3}
propertyPath: damage
value: 15
objectReference: {fileID: 0}
- target: {fileID: 5204381087217674634, guid: bd217f9f85ce78e46a925776562625e8, type: 3}
propertyPath: weaponKind
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bd217f9f85ce78e46a925776562625e8, type: 3}
--- !u!1 &7768205653369755348 stripped