Esempio n. 1
0
    //[0]
    public void showLiver()
    {
        //stop glowing
        UnGlow();

        Debug.Log("click liver");
        //change scale of button
        changeScaleOfButtonBig(buttons[0]);
        //make transparent to other buttons
        disableOtherButtons("Liver");

        changePanelValues("Higado", HigadoPadecimientos, higadoColor, LiverSprite);
        // buttons[0].GetComponent<Transform>().localScale(new Vector3(1.5f, 1.5f, 1.5f), 1);
        sS.PopOrganPanel();
        //this one might repeat with other organs depending the assoc
        ChangeValuesSecondScreen(higadoColor, productsSprites[0], "Manejo nutricional para el Higado", ProductLogo[0]);
        //calls animator manager to handle time to change 2 second screen
        sS.ChangeScreens();
        //get the canvas component of the button and throw animation
    }