Neg_Utils/Achivments/AchivmentManagerConfig.cs
2022-12-21 15:13:55 +01:00

25 lines
750 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NEG.Utils.Achivments
{
[CreateAssetMenu(menuName = "Achivments/BaseConfig")]
public class AchivmentManagerConfig : ScriptableObject, IAchivmentManagerConfig
{
public const string DefaultAchivmentsCollectionLabel = "Achivments";
[field: SerializeField]
public string AchivmentCollectionAssetLabel { get; private set; } = DefaultAchivmentsCollectionLabel;
public void Apply(AchivmentManager.Builder builder)
{
builder.WithLabeledDefinitions(AchivmentCollectionAssetLabel);
}
public void ApplyLast(AchivmentManager.Builder builder)
{
}
}
}