Files
test/Assets/PerfectWorld/Scripts/GameData/GameRunConfig.cs
T
2026-05-12 17:45:28 +07:00

22 lines
794 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;
}
}