API reference
API reference
Select your platform
No SDKs available
No versions available

Controller Class

Extends MonoBehaviour

Protected Fields

bool _hasRectTransform[Get]
LayoutStyle _layoutStyle[Get]
List< Controller > _children[Get]

Properties

Controller Owner[Get]
Transform Transform[Get]
RectTransform RectTransform[Get]
GameObject GameObject[Get]
List< Controller > Children[Get]
LayoutStyle LayoutStyle[Get]
bool Visibility[Get]

Events

Action< Controller > OnVisibilityChangedEvent

Protected Functions

virtual void Setup
( Controller owner )
void UpdateRefreshLayout
( bool force )
virtual void RefreshLayoutPreChildren ( )
virtual void RefreshLayoutPostChildren ( )

Member Functions

T Append< T >
( string childName )
T Prepend< T >
( string childName )
void Append
( Controller controller )
void Remove
( Controller controller,
bool destroy )
void Clear
( bool destroy )
void Hide ( )
void Show ( )
void ToggleVisibility ( )
void OnVisibilityChanged ( )
void RefreshLayout ( )
void OnDestroy ( )
void SetHeight
( float height )
void SetWidth
( float width )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon