19 lines
519 B
C#
19 lines
519 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class HeroAttributesSO : ScriptableObject
|
||
|
{
|
||
|
[SerializeField] private Attribute STR;
|
||
|
[SerializeField] private Attribute MAG;
|
||
|
[SerializeField] private Attribute DEX;
|
||
|
[SerializeField] private Attribute CON;
|
||
|
[SerializeField] private Attribute CHA;
|
||
|
[SerializeField] private Attribute FTH;
|
||
|
|
||
|
public static HeroAttributesSO New()
|
||
|
{
|
||
|
return ScriptableObject.CreateInstance<HeroAttributesSO>();
|
||
|
}
|
||
|
}
|