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