예제 #1
0
 private void Start()
 {
     statsManager = GameObjectUtil.GetSingleton <StatsManager>();
 }
예제 #2
0
 public void LoadScene()
 {
     GameObjectUtil.CleanupSingletons();
     GameObjectUtil.ClearPools();
     Application.LoadLevel(scene);
 }
예제 #3
0
 private void Awake()
 {
     GameObjectUtil.RegisterSingleton <AchievementManager>(this);
 }
예제 #4
0
 private void Start()
 {
     soundManager     = GameObjectUtil.GetSingleton <SoundManager>();
     lockDelayElapsed = 0;
 }