mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-11-23 16:15:34 +01:00
18 lines
475 B
C#
18 lines
475 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "DatabaseObject", menuName = "DatabaseObject")]
|
|
public class DatabaseObject : ScriptableObject
|
|
{
|
|
public List<Achievement> achievements = new List<Achievement>();
|
|
}
|
|
|
|
[System.Serializable]
|
|
public class Achievement
|
|
{
|
|
public string name;
|
|
public Sprite icon;
|
|
[SerializeReference, SerializeReferenceButton]
|
|
public IPlatform[] platformsSettings = null;
|
|
public Unlock unlock;
|
|
} |