summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts')
-rw-r--r--SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs14
-rw-r--r--SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs.meta11
-rw-r--r--SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs1
3 files changed, 26 insertions, 0 deletions
diff --git a/SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs b/SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs
new file mode 100644
index 0000000..eb483e2
--- /dev/null
+++ b/SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs
@@ -0,0 +1,14 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class Item_NuclearBomb : ItemBase
+{
+ public override string name => "ΊΛ΅―ΓάΒλΟδ";
+
+ public override string iconPath => "art/ui/itemicon/nuclear_bomb";
+
+ public override void OnUse(GameObject owner)
+ {
+ }
+} \ No newline at end of file
diff --git a/SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs.meta b/SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs.meta
new file mode 100644
index 0000000..3428826
--- /dev/null
+++ b/SurvivalTest/Assets/Scripts/Items/Item_NuclearBomb.cs.meta
@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: 529a65114183a5c479ca08229cb6e458
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs b/SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs
index df924ca..a22947a 100644
--- a/SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs
+++ b/SurvivalTest/Assets/Scripts/Managers/PlayerManager_Items.cs
@@ -12,6 +12,7 @@ public partial class PlayerManager : Singleton<PlayerManager>
{
m_Items.Add(new Item_B2Phone());
m_Items.Add(new Item_SpaceBeamer());
+ m_Items.Add(new Item_NuclearBomb());
}
public void UseItem(ItemBase item)