summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Items/Item_B2Phone.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Items/Item_B2Phone.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/Items/Item_B2Phone.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/SurvivalTest/Assets/Scripts/Items/Item_B2Phone.cs b/SurvivalTest/Assets/Scripts/Items/Item_B2Phone.cs
deleted file mode 100644
index a7aff51..0000000
--- a/SurvivalTest/Assets/Scripts/Items/Item_B2Phone.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-/// <summary>
-/// B2ºô½Ð»ú
-/// </summary>
-public class Item_B2Phone : ItemBase
-{
- public override string name => "B2";
-
- public override string iconPath => "art/ui/itemicon/plane";
-
- string prefabPath = "prefabs/weapon/b2";
-
- public override void OnUse(GameObject owner)
- {
- TestB2 b2 = UnityEngine.Object.Instantiate(ResourceManager.Instance.Load<TestB2>(prefabPath));
-
- Vector3 pos3D = owner.GetComponent<TopDownTransform>().GetProjectedPosition();
- b2.Set(pos3D + new Vector3(-15, 0, 0), pos3D + new Vector3(15, 0, 0), 20f, 3f);
- }
-
-} \ No newline at end of file