多轮审查和修复
This commit is contained in:
25
Assets/Scripts/Quest/ChallengeEncounterSO.cs
Normal file
25
Assets/Scripts/Quest/ChallengeEncounterSO.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace BaseGames.Challenge
|
||||
{
|
||||
/// <summary>
|
||||
/// 单波敌人配置(架构 22_QuestChallengeModule §10)。
|
||||
/// 资产路径: Assets/ScriptableObjects/Challenge/ENC_{challengeId}_{wave}.asset
|
||||
/// </summary>
|
||||
[CreateAssetMenu(menuName = "Challenge/Encounter")]
|
||||
public class ChallengeEncounterSO : ScriptableObject
|
||||
{
|
||||
[Serializable]
|
||||
public struct SpawnEntry
|
||||
{
|
||||
[Tooltip("Addressables key")]
|
||||
public string enemyAddressKey;
|
||||
public Transform spawnPoint;
|
||||
public int count;
|
||||
}
|
||||
|
||||
public SpawnEntry[] enemies;
|
||||
public float waveDelay; // 上波清空后等待多少秒生成本波
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user