25 lines
753 B
C#
25 lines
753 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace NEG.Utils.Achievments
|
|
{
|
|
[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(AchievmentManager.Builder builder)
|
|
{
|
|
builder.WithLabeledDefinitions(AchivmentCollectionAssetLabel);
|
|
}
|
|
|
|
public void ApplyLast(AchievmentManager.Builder builder)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |