Files
Darklings-FightingGame/Assets/_Project/Scripts/ScriptableObjectScripts/PlayerStatsSO.cs

15 lines
403 B
C#
Raw Normal View History

2021-08-20 11:16:49 +02:00
using UnityEngine;
[CreateAssetMenu(fileName = "Player Stats", menuName = "Scriptable Objects/Player Stat", order = 1)]
public class PlayerStatsSO : ScriptableObject
{
2021-08-26 22:36:18 +02:00
public Sprite portrait;
2021-10-02 02:21:06 +02:00
public string characterName;
2021-09-30 00:57:38 +02:00
public float walkSpeed = 3;
public float runSpeed = 5;
2021-08-20 11:16:49 +02:00
public float jumpForce = 2;
public float maxHealth = 3;
public float currentHealth = 3;
2021-09-25 21:18:24 +02:00
public float dashForce = 5;
2021-08-20 11:16:49 +02:00
}