Пример #1
0
	public void Init(){
		multiplicateur = 1;
		typeIs = typeScreen.notSet;
		SetScreen ();
		SetRatio ();
		GetInitScale ();
	}
Пример #2
0
	void SetRatio(){
		if (screen.x > screen.y) {
			typeIs = typeScreen.paysage;
			ratio = screen.x / screen.y;
		} else {
			typeIs = typeScreen.portrait;
			ratio = screen.y / screen.x;
		}
	}