[TASK] Content fixes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user