Files
defrain-shooter-unity/Assets/Scripts/Weapons/Weapon.cs
Noah4ever 8894bdfe40 Info
Sollte übrigens nicht spielbar sein, da Weapon.cs nun ein anderer Script ist.
2022-01-19 21:42:17 +01:00

27 lines
584 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Weapon : Gun
{
// Firerate of weapon
private float firerate;
// Strength of recoil
private float recoilStrength;
// Current ammunition in magazin
private int currentAmmunition;
// Full magazin Size
private int magazinSize;
// Total ammunition
private int totalAmmunition;
// Bullet exit (Muzzle)
private GameObject bulletExit;
// Allow action of weapon (shoot, reload, aim, drop, ...)
private bool allowAction;
// Getter
}