24 lines
694 B
C#
24 lines
694 B
C#
using NEG.Utils.Achievments.AchievmentTypes;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace NEG.Utils.Achievments
|
|
{
|
|
[CreateAssetMenu(menuName = "Achievments/Config/BaseConfig")]
|
|
public class AchievmentManagerConfig : ScriptableObject, IAchivmentManagerConfig
|
|
{
|
|
[field: SerializeField]
|
|
public List<AchievmentDefinition> Achivments { get; private set; } = new List<AchievmentDefinition>();
|
|
|
|
public void Apply(AchievmentManager.Builder builder)
|
|
{
|
|
builder.WithDefinitionsFrom(this);
|
|
}
|
|
|
|
public void ApplyLast(AchievmentManager.Builder builder)
|
|
{
|
|
|
|
}
|
|
}
|
|
} |