30 lines
1.0 KiB
C#
30 lines
1.0 KiB
C#
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;
|
|
|
|
[field: SerializeField]
|
|
public bool IsFollowingTargetCamera { get; private set; }
|
|
|
|
[field: SerializeField]
|
|
public ParticleSystem ReadyParticle { get; private set; }
|
|
|
|
[field: SerializeField]
|
|
public ParticleSystem AttackParticle { get; private set; }
|
|
}
|
|
} |