void SolveTask() { currentPhase = UI_Phase.Puzzle; mainCamera.EnablePuzzleLock(true); planetNameInGame.SetActive(true); planetNameInGame.GetComponent <TextMeshProUGUI>().text = IndexToName(loadGameScene.planetType); foreach (GameObject infoPanel in planetInfoPanels) { infoPanel.SetActive(false); } solveButton.SetActive(false); planetIsDoneText.SetActive(false); loadGameScene.LoadScene(); loadGameScene.StopWaitingForPlanetClick(); }
void SolveTask() { currentPhase = UI_Phase.Puzzle; mainCamera.EnablePuzzleLock(true); planetInfoScreen.style.display = DisplayStyle.None; var planetName = backButtonScreen.Q <Label>("name-label"); planetName.style.display = DisplayStyle.Flex; planetName.text = currentPlanetName; planetIsDoneText.SetActive(false); //planetNameInGame.SetActive(true); // planetNameInGame.GetComponent<TextMeshProUGUI>().text = IndexToName(loadGameScene.planetType); //GesturesController.RecogniseDoubleTouchGesturesAs_Shuffle(); loadGameScene.LoadScene(); loadGameScene.StopWaitingForPlanetClick(); }