Esempio n. 1
0
public void Start()
	{
		UnityMenu = new UnityMenu();
		StartButton = new ButtonGUI("Canvas/Play");
		PreviousMButton = (new Nothing<ButtonGUI>());
		PlusButton = (new Nothing<ButtonGUI>());
		NextMButton = (new Nothing<ButtonGUI>());
		LessButton = (new Nothing<ButtonGUI>());
		BackButton = new ButtonGUI("Canvas/Back");
		
}
Esempio n. 2
0
	public void Rule3(float dt, Menu world){ 
	switch (s3)
	{

	case -1:
	if(((CurrentScreenNumber) == (1)))
	{

	goto case 27;	}else
	{

	goto case 28;	}
	case 27:
	___PreviousM30 = new ButtonGUI("Canvas/PreviousM");
	UnityEngine.Debug.Log("PreviousM Created");
	PreviousMButton = (new Just<ButtonGUI>(___PreviousM30));
	s3 = 30;
return;
	case 30:
	if(!(false))
	{

	s3 = 30;
return;	}else
	{

	s3 = -1;
return;	}
	case 28:
	UnityEngine.Debug.Log("PreviousM Destroyed");
	PreviousMButton = (new Nothing<ButtonGUI>());
	s3 = -1;
return;	
	default: return;}}
Esempio n. 3
0
	public void Rule2(float dt, Menu world){ 
	switch (s2)
	{

	case -1:
	if(((CurrentScreenNumber) == (1)))
	{

	goto case 18;	}else
	{

	goto case 19;	}
	case 18:
	___NextM20 = new ButtonGUI("Canvas/NextM");
	UnityEngine.Debug.Log("NextMButton Created");
	NextMButton = (new Just<ButtonGUI>(___NextM20));
	s2 = 21;
return;
	case 21:
	if(!(false))
	{

	s2 = 21;
return;	}else
	{

	s2 = -1;
return;	}
	case 19:
	UnityEngine.Debug.Log("NextMButton Destroyed");
	NextMButton = (new Nothing<ButtonGUI>());
	s2 = -1;
return;	
	default: return;}}
Esempio n. 4
0
	public void Rule1(float dt, Menu world){ 
	switch (s1)
	{

	case -1:
	if(((CurrentScreenNumber) == (1)))
	{

	goto case 9;	}else
	{

	goto case 10;	}
	case 9:
	___PlusB10 = new ButtonGUI("Canvas/MoreP");
	UnityEngine.Debug.Log("PlusButton Created");
	PlusButton = (new Just<ButtonGUI>(___PlusB10));
	s1 = 12;
return;
	case 12:
	if(!(false))
	{

	s1 = 12;
return;	}else
	{

	s1 = -1;
return;	}
	case 10:
	UnityEngine.Debug.Log("PlusButton Destroyed");
	PlusButton = (new Nothing<ButtonGUI>());
	s1 = -1;
return;	
	default: return;}}
Esempio n. 5
0
	public void Rule0(float dt, Menu world){ 
	switch (s0)
	{

	case -1:
	if(((CurrentScreenNumber) == (1)))
	{

	goto case 0;	}else
	{

	goto case 1;	}
	case 0:
	___LessB00 = new ButtonGUI("Canvas/LessP");
	UnityEngine.Debug.Log("LessButton Created");
	LessButton = (new Just<ButtonGUI>(___LessB00));
	s0 = 3;
return;
	case 3:
	if(!(false))
	{

	s0 = 3;
return;	}else
	{

	s0 = -1;
return;	}
	case 1:
	UnityEngine.Debug.Log("LessButton Destroyed");
	LessButton = (new Nothing<ButtonGUI>());
	s0 = -1;
return;	
	default: return;}}