Compare commits
No commits in common. "main" and "working" have entirely different histories.
26 changed files with 1 additions and 2020 deletions
File diff suppressed because it is too large
Load diff
|
@ -17,9 +17,7 @@ public class Buttons : MonoBehaviour
|
||||||
|
|
||||||
public void PlayGame()
|
public void PlayGame()
|
||||||
{
|
{
|
||||||
this.gameObject.SetActive(false);
|
GameManager.Instance.GoNextLevel();
|
||||||
GameObject.Find("Rules").SetActive(true);
|
|
||||||
//GameManager.Instance.GoNextLevel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void LaunchSettings()
|
public void LaunchSettings()
|
|
@ -1,8 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: ad9ada27959b57a48a60a93bf75020b1
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
|
@ -1,25 +0,0 @@
|
||||||
using TMPro;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.SceneManagement;
|
|
||||||
|
|
||||||
public class Rules : MonoBehaviour
|
|
||||||
{
|
|
||||||
|
|
||||||
public TMP_InputField money;
|
|
||||||
|
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
|
||||||
void Start()
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SetMoney()
|
|
||||||
{
|
|
||||||
GlobalsVariable.money = int.Parse(money.text);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void LaunchLevel(int level)
|
|
||||||
{
|
|
||||||
SceneManager.LoadSceneAsync(level);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,2 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: f557c03ae4a119348a3156e2b73bd369
|
|
Loading…
Add table
Add a link
Reference in a new issue