DeviceOrientationDetector
From Headbone Creative
Revision as of 22:55, 16 April 2013 by Tyson Joehler (Talk | contribs)
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.