Exemplo n.º 1
0
    public void Hide_AllScreen()
    {
        Teleport.SetActive(false);
        P_Screen.SetActive(false);
        BackVillage.SetActive(false);
        BackManu.SetActive(false);
        Exit.SetActive(false);
        SeveGame.SetActive(false);
        EndStage.SetActive(false);
        Status.SetActive(false);
        Npc.SetActive(false);
        Die.SetActive(false);
        Setting.SetActive(false);
        Tooltip.SetActive(false);
        BuySell.SetActive(false);
        Enchant.SetActive(false);
        HelpKey.SetActive(false);
        AdminScreen.SetActive(false);
        Sell.SetActive(false);
        Buy.SetActive(false);
        EndButtom.SetActive(false);
        inventory.SetActive(false);

        if (Application.loadedLevelName == "Village")
        {
            ButtomBackVillage.SetActive(false);
        }
        else
        {
            ButtomBackVillage.SetActive(true);
        }
    }