rename HeroAttributes -> HeroAttributesSO
This commit is contained in:
parent
8170727c59
commit
3b0fc4481e
@ -2,14 +2,17 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class HeroAttributes : ScriptableObject
|
||||
public class HeroAttributesSO : ScriptableObject
|
||||
{
|
||||
// TODO(zeph): does these being private make it hard to create a new hero?
|
||||
// what about applying effects?
|
||||
[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>();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user