18 lines
519 B
C#
18 lines
519 B
C#
using Code.Infrastructure.Generators;
|
|
using UnityEngine;
|
|
|
|
namespace Code.OfficeGame.BattleMode.Actions
|
|
{
|
|
[Config("Configs/BattleAction", true)]
|
|
[CreateAssetMenu(fileName = "BattleActionConfig", menuName = "Configs/BattleAction")]
|
|
public class BattleActionParameters: ScriptableObject
|
|
{
|
|
public BattleActionType ActionType;
|
|
|
|
public AnimationClip AnimationClip;
|
|
|
|
public int StateHash => Animator.StringToHash(AnimationClip.name);
|
|
|
|
public int TotalFrames;
|
|
}
|
|
} |