yes, yesterday i hadn't a 5th menĂ¼ button, now i have and it works fine. but i can't get the DNA to work. maybe my problem is still here :
QUOTE |
look for this c.SubmenuText5.text = SubMenuItem5; and put this under
CODE
if (theDNA == true) { c.theDNA1.SetAlpha(.4); c.theDNA3.SetAlpha(.4); c.theDNA5.SetAlpha(.4); }
else if (theDNA == false) { c.theDNA1.visible = false; c.theDNA3.visible = false; c.theDNA5.visible = false; } |
i made it look like this:
QUOTE |
GetSubmenuText(); c.SubmenuText1.text = SubMenuItem1; c.SubmenuText2.text = SubMenuItem2; c.SubmenuText3.text = SubMenuItem3; c.SubmenuText4.text = SubMenuItem4; c.SubmenuText5.text = SubMenuItem5; if (theDNA == true) { c.theDNA1.SetAlpha(.4); c.theDNA3.SetAlpha(.4); c.theDNA5.SetAlpha(.4); }
else if (theDNA == false) { c.theDNA1.visible = false; c.theDNA3.visible = false; c.theDNA5.visible = false; }
|
is this right ?
thx for your help
bye
Nosezeichen