Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hienvinhpro committed Jul 29, 2017
2 parents 76ea0b3 + 27e66d4 commit 718d22f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
Binary file modified Assets/Scenes/option.unity
Binary file not shown.
2 changes: 1 addition & 1 deletion Assets/Scenes/option.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions Assets/Scripts/menuController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ public void exitButton()
Application.Quit();
}





void Awake()
{
SettingText.GetComponent<Text>().color = Color.red;
Expand Down Expand Up @@ -76,7 +72,15 @@ public void setting_game()
public void backToMenu()
{
plane.gameObject.SetActive(true);
QuitButton.gameObject.SetActive(true);
if (Application.platform == RuntimePlatform.WindowsEditor || Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == RuntimePlatform.OSXPlayer)
{
QuitText.gameObject.SetActive(true);
}
else if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer)
{
QuitText.gameObject.SetActive(false);
}

Title.gameObject.SetActive(true);
SettingText.gameObject.SetActive(true);

Expand Down
Binary file modified ProjectSettings/ProjectSettings.asset
Binary file not shown.
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
m_EditorVersion: 5.6.1f1
m_EditorVersion: 2017.1.0f3

0 comments on commit 718d22f

Please sign in to comment.