I have set of scripts, every script is finished tool (i.e. it have user interface and all nessesarry things to work).
i want to switch between them. I know 1 oblivious “shotgun” way:
(switch statement or anything else)
case(1):
script1.enabled = true;
script2.enabled = false;
script3.enabled = false;
case(2):
script1.enabled = false;
script2.enabled = true;
and so on, and on, and on… (i have around 10 elements :D)
Give me please some kind of “good” solution for this problem, i am missing something really simple.