Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fc6abcd

Browse files
Merge pull request #5 from coderDarren/resolutionbranch
resolving compile errors
2 parents 0874a47 + 19ca680 commit fc6abcd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎Session/SessionController.cs

Lines changed: 7 additions & 7 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /