[WIP] Working on collectibles
This commit is contained in:
16
Assets/DuckStickerData.cs
Normal file
16
Assets/DuckStickerData.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "sticker", menuName = "Duck/Sticker", order = 10)]
|
||||
public class DuckStickerData: ScriptableObject
|
||||
{
|
||||
|
||||
[SerializeField]
|
||||
private string _label;
|
||||
|
||||
[SerializeField]
|
||||
private Sprite _stickerSprite;
|
||||
|
||||
public string Label => _label;
|
||||
|
||||
public Sprite StickerSprite => _stickerSprite;
|
||||
}
|
||||
Reference in New Issue
Block a user