mUIOrientationSwitcher

Summary

Component for changing display depending on terminal orientation

Relation

UnityEngine.MonoBehaviour
mUniSm.Core.IMonoCacheBehaviour

Variable

sizeDeltaOnPortrait Sizedelta at portrait of this object
sizeDeltaOnLandscape Sizedelta at landscape of this object

Property

cachedGameObject Reference cache of GameObject
cachedTransform Reference cache of Transform
cachedRectTransform Reference cache of RectTransform
active True if the game object is active It is possible to change the state of the game object by setting bool
activeTargetOnPortrait Gets the active target on portrait.
activeTargetOnLandscape Target to activate at Landscape
cachedUICore Gets the cached UI core.

Method

UpdateScreen(UnityEngine.DeviceOrientation) Updates the screen.
GetSize(UnityEngine.DeviceOrientation) Gets the size.
Apply( ) Applies this instance.
Validate( ) Callback method called when editing values in Unity Editor

Reference