2022-01-12 10:06:03 +03:00
|
|
|
|
using System;
|
|
|
|
|
using UnityEditor;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
2022-01-17 18:24:11 +03:00
|
|
|
|
[CreateAssetMenu(fileName = "PlayerConfig", menuName = "Configs/PlayerConfig")]
|
2022-01-12 10:06:03 +03:00
|
|
|
|
public class PlayerConfig : ScriptableObject
|
|
|
|
|
{
|
|
|
|
|
public CharacterCharacteristics characterCharacteristics;
|
|
|
|
|
}
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class CharacterCharacteristics
|
|
|
|
|
{
|
|
|
|
|
public string namePlayer;
|
|
|
|
|
public int maxHp;
|
|
|
|
|
public int maxStamina;
|
2022-01-15 21:47:03 +03:00
|
|
|
|
public int armor;
|
2022-01-12 10:06:03 +03:00
|
|
|
|
public Sprite sprite;
|
|
|
|
|
}
|