add scriptable object examples
add editor window example add attribute + drawer example
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Data
|
||||
{
|
||||
[CreateAssetMenu(fileName = "CharacterAttributes", menuName = "Data/Character Attributes", order = 0)]
|
||||
public class CharacterAttributes : ScriptableObject
|
||||
{
|
||||
public string Name;
|
||||
public int Health;
|
||||
public int Strength;
|
||||
public float StrengthMultiplier;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user