void Awake ()
	{
		if (_instance != null)
		{
			// only one instance allowed..
			throw new NotSupportedException ("Only one instance allowed");
		}
		
		_instance = this;
		
		// Enable autorotation between both Landscape orientations
		Screen.orientation = ScreenOrientation.AutoRotation;
		Screen.autorotateToLandscapeLeft = true;
		Screen.autorotateToLandscapeRight = true;
		Screen.autorotateToPortrait = false;
		Screen.autorotateToPortraitUpsideDown = false;
		
		// not available in 4.x 
		//TouchScreenKeyboard.autorotateToLandscapeLeft = true;
		//TouchScreenKeyboard.autorotateToLandscapeRight = true;
		//TouchScreenKeyboard.autorotateToPortrait = false;
		//TouchScreenKeyboard.autorotateToPortraitUpsideDown = false;
		
		Screen.orientation = ScreenOrientation.LandscapeLeft;
	}
    void Awake()
    {
        if (_instance != null)
        {
            // only one instance allowed..
            throw new NotSupportedException("Only one instance allowed");
        }

        _instance = this;

        // Enable autorotation between both Landscape orientations
        Screen.orientation = ScreenOrientation.AutoRotation;
        Screen.autorotateToLandscapeLeft      = true;
        Screen.autorotateToLandscapeRight     = true;
        Screen.autorotateToPortrait           = false;
        Screen.autorotateToPortraitUpsideDown = false;

        // not available in 4.x
        //TouchScreenKeyboard.autorotateToLandscapeLeft = true;
        //TouchScreenKeyboard.autorotateToLandscapeRight = true;
        //TouchScreenKeyboard.autorotateToPortrait = false;
        //TouchScreenKeyboard.autorotateToPortraitUpsideDown = false;

        Screen.orientation = ScreenOrientation.LandscapeLeft;
    }