File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 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
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 ;
You can’t perform that action at this time.
0 commit comments