mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-11-25 00:55:59 +01:00
14 lines
281 B
C#
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();
|
|
}
|
|
}
|
|
} |