Just wondering if its even possible to verify if a case is true or not on the start method? if so how!?
Example
Start(){
(if Case 2 == true)
}
update ()
Switch ()
{
Case 1:
break;
Case 2:
Break;
}
Thanks!
Just wondering if its even possible to verify if a case is true or not on the start method? if so how!?
Example
Start(){
(if Case 2 == true)
}
update ()
Switch ()
{
Case 1:
break;
Case 2:
Break;
}
Thanks!
i don’t think you understand how a switch statement works, since you got nothing in switch (), you need to put a statement in their, and it will run a case based on if the value of the case matches the result of the statement in the switch.
So yes you can test what case will be active in the start before hand, just by using a if