File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class SessionController : MonoBehaviour
12
12
13
13
private long m_SessionStartTime ;
14
14
private bool m_IsPaused ;
15
- private GameController m_Game ;
15
+ // private GameController m_Game;
16
16
private float m_FPS ;
17
17
18
18
public long sessionStartTime {
@@ -35,7 +35,7 @@ private void Awake() {
35
35
private void OnApplicationFocus ( bool _focus ) {
36
36
if ( _focus ) {
37
37
// Open a window to unpause the game
38
- PageController . instance . TurnPageOn ( PageType . PausePopup ) ;
38
+ // PageController.instance.TurnPageOn(PageType.PausePopup);
39
39
} else {
40
40
// Flag the game paused
41
41
m_IsPaused = true ;
@@ -44,16 +44,16 @@ private void OnApplicationFocus(bool _focus) {
44
44
45
45
private void Update ( ) {
46
46
if ( m_IsPaused ) return ;
47
- m_Game . OnUpdate ( ) ;
47
+ // m_Game.OnUpdate();
48
48
m_FPS = Time . frameCount / Time . time ;
49
49
}
50
50
#endregion
51
51
52
52
#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
+ // }
57
57
58
58
public void UnPause ( ) {
59
59
m_IsPaused = false ;
You can’t perform that action at this time.
0 commit comments