13 lines
464 B
C#
13 lines
464 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "Character", menuName = "ScriptableObjects/CharacterSO")]
|
|
public class CharacterSO : ScriptableObject
|
|
{
|
|
[SerializeField] private CharacterObject visual;
|
|
[SerializeField] private RegularProjectile regularProjectilePrefab;
|
|
|
|
public CharacterObject Visual => visual;
|
|
public RegularProjectile GetRegularProjectile() => regularProjectilePrefab;
|
|
} |