Created
May 1, 2019 13:42
-
-
Save SenpaiRar/9a6f229ac55a190738d529885e3daaa4 to your computer and use it in GitHub Desktop.
This is the template for all weapons. Every weapon in the game has these stats.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[CreateAssetMenu(fileName = "Weapon_Template", menuName = "Weapons/Template", order = 1)] | |
public class Weapon_Template : ScriptableObject { | |
public float Damage; | |
public float RateOfFire; | |
public KeyCode key; | |
public int StartingAmmo; | |
public AudioClip FireSound; | |
public AudioClip EmptySound; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment