This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
PMC_Projekt/ProjektUnity/Assets/Scripts/ScriptableObjects/Weapons/Weapon.cs
Marvin 1eeafca3f2 MOD: Enemy AI
MOD: Player Shooting
MOD: Damage Player and Enemy
2024-09-05 20:40:50 +02:00

22 lines
432 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Weapon", menuName = "Weapon/Weapon", order = 0)]
public class Weapon : ScriptableObject
{
[SerializeField]
private float damage = 20f;
[SerializeField]
private float fireRate = 0;
public float getDamage(){
return damage;
}
public float getFireRate(){
return fireRate;
}
}