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

23 lines
451 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//Marvin Schneider
[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;
}
}