2024-06-13 20:03:23 +02:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEditor;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
[CreateAssetMenu(fileName = "BulletScriptableObject", menuName = "BulletScriptableObject", order = 0)]
|
2024-06-14 10:35:34 +02:00
|
|
|
public class DataBullet : ScriptableObject
|
2024-06-13 20:03:23 +02:00
|
|
|
{
|
2024-06-14 10:35:34 +02:00
|
|
|
public float damage = 10;
|
2024-06-13 20:03:23 +02:00
|
|
|
|
|
|
|
public float speed = 5f;
|
|
|
|
|
|
|
|
public int ammo;
|
|
|
|
}
|