Skip to content

Instantly share code, notes, and snippets.

@SenpaiRar
Created May 6, 2020 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SenpaiRar/fb044c1ef87070432001144d94878071 to your computer and use it in GitHub Desktop.
Save SenpaiRar/fb044c1ef87070432001144d94878071 to your computer and use it in GitHub Desktop.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName="Weapon", menuName="Weapon")]
public class WeaponObject : ScriptableObject
{
public GameObject BulletObject;
public string Name;
public float CooldownTime;
public AudioClip ShootSound;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment