mirror of
https://github.com/maxartz15/ScriptableData.git
synced 2024-11-14 02:35:35 +01:00
460 B
460 B
Types can be anything: classes, structs etc. Replace {TYPE} with your type.
Data:
using UnityEngine;
namespace ScriptableData
{
[CreateAssetMenu(menuName = "ScriptableData/Data/{TYPE}", order = 146)]
public class SD{TYPE} : ScriptableData<{TYPE}> { }
}
Events:
using UnityEngine;
namespace ScriptableData
{
[CreateAssetMenu(menuName = "ScriptableData/Event/{TYPE}", order = 147)]
public class SE{TYPE} : ScriptableEvent<{TYPE}> {}
}