Add weapon prefabs for Grenade, Rifle, and Sword; set attributes including names, descriptions, prices, and projectile behaviors

This commit is contained in:
2025-07-12 23:20:00 +02:00
parent 6511a5586e
commit 7519d67950
21 changed files with 1090 additions and 135 deletions

View File

@@ -10,7 +10,7 @@ MonoBehaviour:
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 998e0b91932048b1b2abcfcf4936b508, type: 3}
m_Name: Basic Wave
m_Name: Wave 1
m_EditorClassIdentifier:
spawns:
- enemyPrefab: {fileID: 204632724861940951, guid: d5225fe09f2ee0168b3a40e21948820a, type: 3}

View File

@@ -0,0 +1,24 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 998e0b91932048b1b2abcfcf4936b508, type: 3}
m_Name: Wave 2
m_EditorClassIdentifier:
spawns:
- enemyPrefab: {fileID: 204632724861940951, guid: d5225fe09f2ee0168b3a40e21948820a, type: 3}
count: 50
spawnInterval: 0.5
- enemyPrefab: {fileID: 204632724861940951, guid: b00136274fd417af18bc2ba9111a054c, type: 3}
count: 50
spawnInterval: 0.75
- enemyPrefab: {fileID: 204632724861940951, guid: d5225fe09f2ee0168b3a40e21948820a, type: 3}
count: 700
spawnInterval: 0.5

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 745becb03d4a312b88b8a5b372d7f3cf
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -12,8 +12,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: efa44a330e8343c08e3af638d466c118, type: 3}
m_Name: Grenade
m_EditorClassIdentifier:
weaponName:
description:
prefab: {fileID: 0}
icon: {fileID: 0}
price: 0
weaponName: Grenade
description: Boom
prefab: {fileID: 4198373928733079624, guid: e9b74b330ff89ddbaa1db1dcfe57ecef, type: 3}
icon: {fileID: 1754851762, guid: 669e3ba4383a707eb951cae82a9ea538, type: 3}
price: 340

View File

@@ -12,8 +12,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: efa44a330e8343c08e3af638d466c118, type: 3}
m_Name: Rifle
m_EditorClassIdentifier:
weaponName:
description:
prefab: {fileID: 0}
icon: {fileID: 0}
price: 0
weaponName: Rifle
description: pif paf faster
prefab: {fileID: 4198373928733079624, guid: d23194b52cb07a0f9ba88d40c3ea9082, type: 3}
icon: {fileID: -252851320, guid: 669e3ba4383a707eb951cae82a9ea538, type: 3}
price: 200

View File

@@ -12,8 +12,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: efa44a330e8343c08e3af638d466c118, type: 3}
m_Name: Sword
m_EditorClassIdentifier:
weaponName:
description:
prefab: {fileID: 0}
icon: {fileID: 0}
price: 0
weaponName: Sword
description: slash
prefab: {fileID: 4198373928733079624, guid: 37be88b9c527bf70f81113879644e46c, type: 3}
icon: {fileID: 8233071653059976297, guid: 669e3ba4383a707eb951cae82a9ea538, type: 3}
price: 500