摄像机区域的架构改动

This commit is contained in:
2026-05-15 14:47:24 +08:00
parent 1b37297585
commit f264329751
3591 changed files with 1687228 additions and 446503 deletions

View File

@@ -0,0 +1,26 @@
using System;
using UnityEngine;
namespace BaseGames.Boss
{
/// <summary>
/// 有序攻击序列(一个技能内的多段连段)。
/// </summary>
[CreateAssetMenu(menuName = "BaseGames/Boss/SkillSequence")]
public class SkillSequenceSO : ScriptableObject
{
[Serializable]
public struct SequenceStep
{
public AttackPatternSO pattern;
[Min(0f)] public float delayBeforeStep;
}
public SequenceStep[] steps;
[Header("序列完成后的行为")]
public bool RepeatIfPlayerInRange;
[Min(0f)] public float RepeatDelay;
[Range(0, 10)] public int MaxRepeatCount;
}
}