too many if statements

This commit is contained in:
reisenlol 2026-01-12 23:44:43 -08:00
parent 533f137c48
commit 17b1a1e367
No known key found for this signature in database
7 changed files with 55 additions and 20 deletions

View file

@ -2,8 +2,15 @@ using UnityEngine;
public class Weapon : MonoBehaviour
{
[Header("Identification")]
public string weaponName;
[Header("Cache")]
public bool isAiming;
public PlayerEntity thisEntity;
[Header("Stats")]
public float damage;
public virtual void TryAttack()
{
AttackEffects();