Files
zeling_v2/Assets/_Game/Scripts/Quest/ChallengeEncounterSO.cs

26 lines
765 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using UnityEngine;
namespace BaseGames.Challenge
{
/// <summary>
/// 单波敌人配置(架构 22_QuestChallengeModule §10
/// 资产路径: Assets/ScriptableObjects/Challenge/ENC_{challengeId}_{wave}.asset
/// </summary>
[CreateAssetMenu(menuName = "BaseGames/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; // 上波清空后等待多少秒生成本波
}
}