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