您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
16 行
538 B
16 行
538 B
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Localization;
|
|
|
|
[CreateAssetMenu(fileName = "AttackConfig", menuName = "EntityConfig/Attack Config")]
|
|
public class AttackConfigSO : ScriptableObject
|
|
{
|
|
[Tooltip("Character attack strength")]
|
|
[SerializeField] private int _attackStrength;
|
|
|
|
[Tooltip("Character attack reload duration (in second).")]
|
|
[SerializeField] private float _attackReloadDuration;
|
|
|
|
public int AttackStrength => _attackStrength;
|
|
public float AttackReloadDuration => _attackReloadDuration;
|
|
}
|