CapersProject/Assets/02.Scripts/Skill/Player/Combat/Data/TheWaltzOfTheSwordData.cs

30 lines
1.0 KiB
C#
Raw Normal View History

2024-06-03 18:26:03 +00:00
using Sirenix.OdinInspector;
using UnityEngine;
namespace BlueWater.Players.Combat.Skills
{
[CreateAssetMenu(fileName = "TheWaltzOfTheSwordData", menuName = "ScriptableObjects/Skills/Combat/TheWaltzOfTheSwordData")]
public class TheWaltzOfTheSwordData : SkillData
{
[field: SerializeField]
public int MaxAttackCount { get; private set; } = 6;
[field: SerializeField]
public bool ReturnStartPosition { get; private set; }
[field: SerializeField]
public bool IsHitStop { get; private set; } = true;
[field: SerializeField, ShowIf("@IsHitStop")]
public float HitStopDuration { get; private set; } = 0.2f;
2024-06-03 18:26:03 +00:00
[field: SerializeField]
public bool IsFollowingTargetCamera { get; private set; }
[field: SerializeField]
public ParticleSystem ReadyParticle { get; private set; }
[field: SerializeField]
public ParticleSystem AttackParticle { get; private set; }
}
}