添加插件
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Obvious.Soap.Example
|
||||
{
|
||||
[CreateAssetMenu(fileName = "scriptable_enum_Element", menuName = "Soap/Examples/ScriptableEnums/Element")]
|
||||
public class ScriptableEnumElement : ScriptableEnumBase
|
||||
{
|
||||
//convenient to have additional data in the ScriptableEnum
|
||||
public Sprite Icon = null;
|
||||
public Color Color = Color.white;
|
||||
public List<ScriptableEnumElement> Defeats = null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user