19 lines
397 B
C#
19 lines
397 B
C#
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 int armor;
|
|
public Sprite sprite;
|
|
} |