Newer
Older
HardPoint-Project-Abertay-University-Unity3D / Assets / Scripts / WeaponBehaviour.cs
@Rackday Rackday on 18 Aug 610 bytes Project Added
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(menuName = "New Weapon")]
public class WeaponBehaviour : ScriptableObject
{
    [Header("Weapon stats")]
    public int numberOfBulletsSpawned;
    public float coolDown;
    public float damageMultiplier;
    public float bulletVelocity;
    [Header("Weapon behaviour")]
    public float angleBetweenBullets;
    public GameObject bulletPrefab;
    public bool onlyShot;
    [HideInInspector]
    public bool shooted;

    public string shootingSound;

    [Header("Display")]
    public Sprite displaySprite;
}