mirror of
https://github.com/maxartz15/UnitySerializedReferenceUI.git
synced 2024-11-23 16:15:34 +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();
|
|
}
|
|
}
|
|
} |