Esempio n. 1
0
 void OnMouseDown()
 {
     VariableScript.SetTopBar(2);
     VariableScript.METABOLIZER_ID = VariableScript.INTERMEDIATE_METABOLIZER;
     VariableScript.ShowGraphLegend(2);
     VariableScript.SetYAxis(2);
 }
Esempio n. 2
0
 void OnMouseDown()
 {
     VariableScript.SetTopBar(3);
     VariableScript.METABOLIZER_ID = VariableScript.POOR_METABOLIZER;
     VariableScript.ShowGraphLegend(3);
     VariableScript.SetYAxis(3);
 }
Esempio n. 3
0
 void OnMouseDown()
 {
     VariableScript.SetTopBar(0);
     VariableScript.METABOLIZER_ID = VariableScript.ULTRARAPID_METABOLIZER;
     VariableScript.ShowGraphLegend(0);
     VariableScript.SetYAxis(0);
 }
Esempio n. 4
0
 void OnMouseDown()
 {
     VariableScript.SetTopBar(1);
     VariableScript.METABOLIZER_ID = VariableScript.EXTENSIVE_METABOLIZER;
     VariableScript.ShowGraphLegend(1);
     VariableScript.SetYAxis(1);
 }
Esempio n. 5
0
    void OnMouseUp()
    {
        //When we release reset button, Button style is changed to inactive.
        VariableScript.Background_Released.SetActive(true);
        VariableScript.Text_Released.SetActive(true);
        VariableScript.Background_Pressed.SetActive(false);
        VariableScript.Text_Pressed.SetActive(false);

        //When we release reset button, graph is reset.
        VariableScript.METABOLIZER_ID    = -1;
        VariableScript.HERBAL_DRUG_COUNT = 0;

        VariableScript.SetTopBar(-1);
        VariableScript.ResetLeftBar();
        VariableScript.ShowGraphLegend(-1);
        GraphScript.RemoveAllGraph();
    }