AkiraPixelWind/Assets/Scripts/Main/Definition/ScriptableObject/MapMonsterCfg.cs

39 lines
788 B
C#
Raw Normal View History

2023-01-13 18:29:48 +08:00
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "BulletData", menuName = "ScriptableObject/<2F>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD>", order = 0)]
public class MapMonsterCfg : ScriptableObject
{
public int MapID;
public List<MapMonsterCfg_Step> StepList;
public MapMonsterCfg()
{
StepList = new List<MapMonsterCfg_Step>();
}
}
[Serializable]
public class MapMonsterCfg_Step
{
public int StepID;
public List<MapMonsterCfg_Spawn> SpawnPoints;
public MapMonsterCfg_Step()
{
SpawnPoints = new List<MapMonsterCfg_Spawn>();
}
}
[Serializable]
public class MapMonsterCfg_Spawn
{
public int SpawnPointID;
public int MonsterCfgID;
public Vector3 Pos;
public int MonsterCount;
}