8000 resoliving compile errors · coderDarren/UnityCore@19ca680 · GitHub
[go: up one dir, main page]

Skip to content

Commit 19ca680

Browse files
committed
resoliving compile errors
1 parent 7954c47 commit 19ca680

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Session/SessionController.cs

+7-7
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class SessionController : MonoBehaviour
1212

1313
private long m_SessionStartTime;
1414
private bool m_IsPaused;
15-
private GameController m_Game;
15+
// private GameController m_Game;
1616
private float m_FPS;
1717

1818
public long sessionStartTime {
@@ -35,7 +35,7 @@ private void Awake() {
3535
private void OnApplicationFocus(bool _focus) {
3636
if (_focus) {
3737
// Open a window to unpause the game
38-
PageController.instance.TurnPageOn(PageType.PausePopup);
38+
// PageController.instance.TurnPageOn(PageType.PausePopup);
3939
} else {
4040
// Flag the game paused
4141
m_IsPaused = true;
@@ -44,16 +44,16 @@ private void OnApplicationFocus(bool _focus) {
4444

4545
private void Update() {
4646
if (m_IsPaused) return;
47-
m_Game.OnUpdate();
47+
// m_Game.OnUpdate();
4848
m_FPS = Time.frameCount / Time.time;
4949
}
5050
#endregion
5151

5252
#region Public Functions
53-
public void InitializeGame(GameController _game) {
54-
m_Game = _game;
55-
m_Game.OnInit();
56-
}
53+
// public void InitializeGame(GameController _game) {
54+
// m_Game = _game;
55+
// m_Game.OnInit();
56+
// }
5757

5858
public void UnPause() {
5959
m_IsPaused = false;

0 commit comments

Comments
 (0)
0