Difference between revisions of "DeviceOrientationDetector"
From Headbone Creative
(Initial page, includes API information and categories) |
Revision as of 22:55, 16 April 2013
This script keeps track of the current aspect ratio of the screen. When the aspect ratio changes, it sends out an event using the Messenger system.
Public Variables
orientationChangedMessage : string
This is sent along with a float indicating the current aspect ratio.