15 lines
331 B
C#
15 lines
331 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "BulletScriptableObject", menuName = "BulletScriptableObject", order = 0)]
|
|
public class DataBullet : ScriptableObject
|
|
{
|
|
public float damage = 10;
|
|
|
|
public float speed = 5f;
|
|
|
|
public int ammo;
|
|
}
|