Rotation simulation within Untiy Editor

I have a vague memory of seeing a video of some development being done for iPhone, within Unity. In the video, the developer appeared to use a key press to simulate a rotation of the device so you could see the game reacting and adjusting the image within the editor.

Can anyone confirm if that’s a real thing or if I dreamt it?

PS: sorry for the subject - I know how to spell Unity, it’s just been a long, long day… :slight_smile:

You could certainly set up a unity project to behave in this way. Rather than having your script checking accelerometer values directly, instead store those values in a variable and check the variable instead. That way you could also have that variable modified by other means of input, such as keyboard commands or whatever you need. I’m doing something kinda similar to allow both multi-touch and mouse clicks to operate my game, so I can test things quickly without having to use unity remote.

OK - so it’s not a built in behaviour. I thought it might be a key press like within the Xcode iPhone simulator. Boo hoo.