DeviceOrientationDetector

From Headbone Creative
Revision as of 22:55, 16 April 2013 by Tyson Joehler (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox