[TASK] Show collected duck stickers
This commit is contained in:
@@ -1,15 +1,23 @@
|
||||
using System;
|
||||
using Unity.Collections;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "sticker", menuName = "Duck/Sticker", order = 10)]
|
||||
[Serializable]
|
||||
public class DuckStickerData: ScriptableObject
|
||||
{
|
||||
|
||||
[SerializeField]
|
||||
[ReadOnly]
|
||||
private string _id = System.Guid.NewGuid().ToString();
|
||||
|
||||
[SerializeField]
|
||||
private string _label;
|
||||
|
||||
[SerializeField]
|
||||
private Sprite _stickerSprite;
|
||||
|
||||
public string Id => _id;
|
||||
|
||||
public string Label => _label;
|
||||
|
||||
public Sprite StickerSprite => _stickerSprite;
|
||||
|
||||
Reference in New Issue
Block a user