Exemplo n.º 1
0
	private	void OnScreenOrientationOut() {
		GameObject go = _component.GetGameObject ();
		Transform canvas = go.transform.parent;
		_component.OnSwitchOut (this);
		GameObject.Destroy (go);

		SetTweenIn(_uiDetail.WhichTransitionOnSwitchIn(), _uiDetail.GetTransitionOnSwitchIn (), OnScreenOrientationComplete, canvas);
		_component.OnSwitchIn (this);
	}