mUIIndexMenu

Summary

Component for managing the layout of the index menu

Relation

UnityEngine.UI.GridLayoutGroup
mUniSm.Core.IMonoCacheBehaviour

Variable

useChangeByScreen Flag to change the number of grids when screen size is changed
automaticallySetColumnCount Automatically set the number of columns at startup

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
portraitColumnCount Gets or sets the portrait column count.
landscapeColumnCount Gets or sets the landscape column count.
constraint Which constraint to use for the GridLayoutGroup.
cachedUICore Gets the cached UI core.

Method

Awake( ) Process on Awake
UpdateScreen(UnityEngine.DeviceOrientation) Updates the screen.
OnEnable( ) Process on Enable
Validate( ) Callback method called when editing values in Unity Editor
OnTransformParentChanged( ) Process on TransformParentChanged
OnCanvasHierarchyChanged( ) Process on CanvasHierarchyChanged
OnRectTransformDimensionsChange( ) Process on RectTransform Changed

Reference