debug clean up
This commit is contained in:
parent
099c7e4cbe
commit
f22ee3acd4
@ -78,7 +78,6 @@ public class GameController : MonoBehaviour
|
|||||||
private void ChangedScene(Scene curr, Scene next){
|
private void ChangedScene(Scene curr, Scene next){
|
||||||
fadeCoroutine = StartCoroutine(FadeToBlack(string.Empty, false, fadeSpeed));
|
fadeCoroutine = StartCoroutine(FadeToBlack(string.Empty, false, fadeSpeed));
|
||||||
if(!next.name.Equals(mainScene) && !next.name.Equals(endScene)){
|
if(!next.name.Equals(mainScene) && !next.name.Equals(endScene)){
|
||||||
Debug.Log(endScene);
|
|
||||||
coinText.gameObject.SetActive(false);
|
coinText.gameObject.SetActive(false);
|
||||||
}else{
|
}else{
|
||||||
coinText.gameObject.SetActive(true);
|
coinText.gameObject.SetActive(true);
|
||||||
|
|||||||
@ -63,7 +63,6 @@ public class MainMenu : MonoBehaviour
|
|||||||
{
|
{
|
||||||
creditsButton.interactable = false;
|
creditsButton.interactable = false;
|
||||||
StartCoroutine("PlayCredits", 0f);
|
StartCoroutine("PlayCredits", 0f);
|
||||||
Debug.Log("Pressed");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerator PlayCredits()
|
public IEnumerator PlayCredits()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user