summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Items/Item_SpaceBeamer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Items/Item_SpaceBeamer.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/Items/Item_SpaceBeamer.cs21
1 files changed, 0 insertions, 21 deletions
diff --git a/SurvivalTest/Assets/Scripts/Items/Item_SpaceBeamer.cs b/SurvivalTest/Assets/Scripts/Items/Item_SpaceBeamer.cs
deleted file mode 100644
index db76bb8..0000000
--- a/SurvivalTest/Assets/Scripts/Items/Item_SpaceBeamer.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-public class Item_SpaceBeamer : ItemBase
-{
- public override string name => "ÎÀÐÇÉäÏß";
-
- public override string iconPath => "art/ui/itemicon/space_beamer";
-
- string prefabPath = "prefabs/weapon/space_beam";
-
- public override void OnUse(GameObject owner)
- {
- TestSpaceBeam beam = UnityEngine.Object.Instantiate<TestSpaceBeam>(ResourceManager.Instance.Load<TestSpaceBeam>(prefabPath));
-
- Vector3 pos3D = owner.GetComponent<TopDownTransform>().position;
- beam.Set(pos3D + new Vector3(3, 0, 0));
- }
-
-} \ No newline at end of file