21 lines
793 B
C#
21 lines
793 B
C#
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
namespace BrewMonster
|
|
{
|
|
[CreateAssetMenu(fileName = "GameRunConfig", menuName = "BrewMonster/Game Run Config")]
|
|
public class GameRunConfig : ScriptableObject
|
|
{
|
|
[FormerlySerializedAs("characterPrefab")]
|
|
[Header("Prefabs")]
|
|
[SerializeField] private GameObject playerPrefab;
|
|
[SerializeField] private GameObject monsterPrefab;
|
|
[SerializeField] private GameObject npcServerPrefab;
|
|
[SerializeField] private GameObject testVfxPrefab;
|
|
|
|
public GameObject PlayerPrefab => playerPrefab;
|
|
public GameObject MonsterPrefab => monsterPrefab;
|
|
public GameObject NpcServerPrefab => npcServerPrefab.gameObject;
|
|
public GameObject TestVfxPrefab => testVfxPrefab;
|
|
}
|
|
} |