// Start is called before the first frame update void Start() { Cursor.visible = false; sindex = GameObject.Find("SearchIndex").GetComponent <SearchIndex>(); gamemanager = GameObject.Find("GameManagerSystem").GetComponent <GameManagerSystem>(); sindex.AddLevelAction(); GameObject.Find("NumLevel").GetComponent <Text>().text = "0" + sindex.actionsUI[SceneManager.GetActiveScene().name].indice; word = sindex.actionsUI[SceneManager.GetActiveScene().name].word; listofalphabet = new List <GameObject>(); foreach (GameObject alphabet in GameObject.FindGameObjectsWithTag("alpha")) { listofalphabet.Add(alphabet); } ReorderAlpha(); }
// Start is called before the first frame update void Start() { Debug.Log("Start"); sindex.AddLevelAction(); text.text = "LEVEL 0" + sindex.actionsUI[SceneManager.GetActiveScene().name].indice; }