add scriptable object examples

add editor window example
add attribute + drawer example
This commit is contained in:
2025-06-13 18:07:18 +02:00
parent 0ae837c57b
commit a6dbfb224f
52 changed files with 1460 additions and 533 deletions
@@ -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;
}
}