34 lines
965 B
C#
34 lines
965 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Streamingle.Contents.BossRaid
|
|
{
|
|
[CreateAssetMenu(fileName = "PlayerData", menuName = "Streamingle/Contents/BossRaid/Player Data")]
|
|
public class PlayerData : ScriptableObject
|
|
{
|
|
[Header("스탯")]
|
|
[Min(1)]
|
|
public int maxHP = 100;
|
|
|
|
[Header("무적")]
|
|
[Tooltip("피격 후 무적 시간 (초)")]
|
|
[Range(0f, 5f)]
|
|
public float invincibilityDuration = 1.5f;
|
|
|
|
[Header("피격 연출")]
|
|
[Tooltip("NiloToon 피격 틴트 색상")]
|
|
public Color hitTintColor = new Color(1f, 0.3f, 0.3f);
|
|
|
|
[Tooltip("피격 틴트 지속 시간")]
|
|
[Range(0.05f, 1f)]
|
|
public float hitTintDuration = 0.3f;
|
|
|
|
[Tooltip("비네트 색상")]
|
|
public Color vignetteColor = new Color(1f, 0f, 0f, 0.4f);
|
|
|
|
[Tooltip("비네트 지속 시간")]
|
|
[Range(0.1f, 1f)]
|
|
public float vignetteDuration = 0.4f;
|
|
}
|
|
}
|