Large diffs are not rendered by default.
| @@ -0,0 +1 @@ | ||
| m_EditorVersion: 2018.1.6f1 |
| @@ -0,0 +1,24 @@ | ||
| using System.Collections; | ||
| using System.Collections.Generic; | ||
| using UnityEngine; | ||
| using UnityEngine.SceneManagement; | ||
| using UnityEngine.UI; | ||
|
|
||
| public class MainMenu : MonoBehaviour | ||
| { | ||
|
|
||
| public Image credits; | ||
| bool credits_b = false; | ||
|
|
||
| public void StartButton() | ||
| { | ||
| //SceneManager.LoadScene("level_main"); | ||
| Debug.Log("Clisck"); | ||
| } | ||
|
|
||
| public void Credits() | ||
| { | ||
| credits_b = !credits_b; | ||
| credits.enabled = credits_b; | ||
| } | ||
| } |