[TASK] Content fixes

This commit is contained in:
2019-08-26 00:51:03 +02:00
parent b4543142de
commit dc140068d6
24 changed files with 433 additions and 15 deletions

View File

@@ -1,6 +1,8 @@
using System;
using EasyButtons;
using Unity.Collections;
using UnityEngine;
using UnityEngine.UIElements;
[CreateAssetMenu(fileName = "sticker", menuName = "Duck/Sticker", order = 10)]
[Serializable]
@@ -21,4 +23,10 @@ public class DuckStickerData: ScriptableObject
public string Label => _label;
public Sprite StickerSprite => _stickerSprite;
[Button]
public void RegenerateId()
{
_id = Guid.NewGuid().ToString();
}
}