mUIOrientationSwitcher

Summary

Component for changing display depending on terminal orientation

Relation

UnityEngine.MonoBehaviour
mUniSm.Core.IMonoCacheBehaviour

Variable

applySizeOnLandscape The apply sizen on landscape
applySizeOnPortrait The apply size on portrait
sizeDeltaOnPortrait Sizedelta at portrait of this object
sizeDeltaOnLandscape Sizedelta at landscape of this object
applyPositionOnLandscape The apply position on landscape
applyPositionOnPortrait The apply position on portrait
positionOnLandscape The position on landscape
positionOnPortrait The position on portrait
offsetOnPortrait The offset on portrait
offsetOnLandscape The offset on landscape

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