the ability to switch weapons

This commit is contained in:
reisenlol 2026-01-12 23:05:33 -08:00
parent 0722053b84
commit 533f137c48
No known key found for this signature in database
12 changed files with 928 additions and 15 deletions

View file

@ -0,0 +1,48 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8120255683806130734
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 249869374080430447}
- component: {fileID: 7808092982301890633}
m_Layer: 0
m_Name: DangoMallet
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &249869374080430447
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8120255683806130734}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7808092982301890633
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8120255683806130734}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6f675ec09a8210538b466e213a2c2bba, type: 3}
m_Name:
m_EditorClassIdentifier:
weaponName: Dango Mallet
thisEntity: {fileID: 0}

View file

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b8051aa5988c369b1a760ce62ebcbedd
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -11,7 +11,7 @@ GameObject:
- component: {fileID: 249869374080430447}
- component: {fileID: 5015834028617221606}
m_Layer: 0
m_Name: RangedWeapon
m_Name: Musket
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
@ -44,5 +44,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: a1c9e746311daba0092c2ff511ab3031, type: 3}
m_Name:
m_EditorClassIdentifier:
weaponName: Musket
thisEntity: {fileID: 0}
fired: 0
isAiming: 0
projectile: {fileID: -1842087358034785043, guid: 66f942782c156c9aa905099dade8a654, type: 3}

View file

@ -440,5 +440,7 @@ MonoBehaviour:
hasAttacked: 0
weapons:
- {fileID: 5015834028617221606, guid: a822f12b0129533629ae07e7075e0b33, type: 3}
- {fileID: 7808092982301890633, guid: b8051aa5988c369b1a760ce62ebcbedd, type: 3}
weaponInstances: []
currentWeapon: {fileID: 0}
hpBar: {fileID: 3104995061699689292}