summaryrefslogtreecommitdiff
path: root/SurvivalTest/Assets/Scripts/Props/PropBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'SurvivalTest/Assets/Scripts/Props/PropBase.cs')
-rw-r--r--SurvivalTest/Assets/Scripts/Props/PropBase.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/SurvivalTest/Assets/Scripts/Props/PropBase.cs b/SurvivalTest/Assets/Scripts/Props/PropBase.cs
new file mode 100644
index 0000000..3976a3c
--- /dev/null
+++ b/SurvivalTest/Assets/Scripts/Props/PropBase.cs
@@ -0,0 +1,19 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+/// <summary>
+/// ÎïÆ·
+/// </summary>
+public abstract class PropBase
+{
+
+ public abstract string name { get; }
+
+ public abstract string iconPath { get; }
+
+ public abstract void OnUse(GameObject owner);
+
+ public virtual void Update() { }
+
+} \ No newline at end of file