UnitySerializedReferenceUI/Samples~/ExamplesAchievementSysemAssembly/Achievements/UnlockSystem.cs
2022-12-28 14:56:13 +01:00

14 lines
281 B
C#

using UnityEngine;
public class UnlockSystem : MonoBehaviour
{
public DatabaseObject dataBase;
public void OnFireBaseLoaded()
{
foreach (Achievement achievement in dataBase.achievements)
{
achievement.unlock.Initialize();
}
}
}