PO/Assets/Scripts/Configs/PlayerConfig.cs

18 lines
375 B
C#
Raw Normal View History

2022-01-12 10:06:03 +03:00
using System;
using UnityEditor;
using UnityEngine;
[CreateAssetMenu(fileName = "PlayerConfig")]
public class PlayerConfig : ScriptableObject
{
public CharacterCharacteristics characterCharacteristics;
}
[Serializable]
public class CharacterCharacteristics
{
public string namePlayer;
public int maxHp;
public int maxStamina;
public Sprite sprite;
}