[TASK] Show collected duck stickers

This commit is contained in:
2019-08-24 00:31:21 +02:00
parent 279c5fbbbe
commit c8ab81a848
43 changed files with 4969 additions and 97 deletions

View File

@@ -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;