[WIP] Working on collectibles
This commit is contained in:
21
Assets/CollectableDuckData.cs
Normal file
21
Assets/CollectableDuckData.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Mapbox.Unity.Utilities;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
[CreateAssetMenu(fileName = "duck", menuName = "Duck/Collectable", order = 0)]
|
||||
public class CollectableDuckData: ScriptableObject
|
||||
{
|
||||
[SerializeField]
|
||||
[Geocode]
|
||||
private string _latitudeLongitude;
|
||||
|
||||
[SerializeField] private GameObject _modelPrefab;
|
||||
|
||||
[FormerlySerializedAs("_sticker")] [SerializeField] private DuckStickerData stickerData;
|
||||
|
||||
public string LatitudeLongitude => _latitudeLongitude;
|
||||
|
||||
public GameObject ModelPrefab => _modelPrefab;
|
||||
|
||||
public DuckStickerData StickerData => stickerData;
|
||||
}
|
||||
Reference in New Issue
Block a user