tool system with switching

This commit is contained in:
2026-03-25 17:58:18 -05:00
parent 17ed6ba3cb
commit 40af32939e
8 changed files with 727 additions and 44 deletions
+16
View File
@@ -0,0 +1,16 @@
using UnityEngine;
public class Flashlight : Tool
{
public Light lightSrc;
public override void Use()
{
lightSrc.enabled = !lightSrc.enabled;
}
public override void UseAlt()
{
}
}