Category Archives: Layout Controls

LayoutControls: LayoutTexture

LayoutTexture is very similar to LayoutSprite. It is an implementation of LayoutCapable that allows a UITexture to be used with the layout controls. After adding one to your UI you will need to either set the material or texture in … Continue reading

Posted in Layout Controls, Unity | Comments Off on LayoutControls: LayoutTexture

LayoutControls: LayoutSlider

Note: LayoutSlider is only available in the NGUI 3.0 package. LayoutSlider is an implementation for LayoutCapable designed to give UISlider layout capabilities. LayoutSlider has three child sprites that need to be set up for use. Filled is currently required and … Continue reading

Posted in Layout Controls, Unity | Comments Off on LayoutControls: LayoutSlider

LayoutControls: LayoutInput

LayoutInput implements LayoutCapable for the UIInput control. Just like a UIInput, LayoutInput has two children elements that will need to be set up. The label is the text that will be shown and will need to have the font property … Continue reading

Posted in Layout Controls, Unity | Comments Off on LayoutControls: LayoutInput

Layout Controls Live!

Exciting news! My first package has been accepted by the Unity Asset Store! Here’s a link. Layout Controls is live and I’ve set the price at $20. I have no good idea on how to price this, but $20 seemed … Continue reading

Posted in Layout Controls, Unity | Comments Off on Layout Controls Live!

Layout Controls: An Overview

Videos: Getting started video. LayoutTable Demo Layout Controls are Live! The goal of these controls is to simplify the creation of complex or dynamic user interfaces by having the UI elements place themselves based on the area available to them and respond … Continue reading

Posted in Layout Controls | 2 Comments

Layout Controls: LayoutSprite

LayoutSprite is an implementation of LayoutCapable designed to give NGUI UISprite layout functionality. The UISprite component will need to be set up just like any NGUI UISprite with an atlas and sprite. LayoutSprite uses the sprite’s natural size to represent … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: LayoutSprite

Layout Controls: LayoutLabel

LayoutLabel is an implementation of LayoutCapable meant to give UILabel from NGUI layout functionality. Since LayoutLabel uses UILabel to display text, the UILabel needs to be set up with a Font before it will show anything. It has one property … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: LayoutLabel

Layout Controls: UIStateManager

UIStateManager is a component that handles showing and destroying UIs based on what requested the UI to be shown. It is only one possible solution to this problem and is being provided as an example of a way to centralize … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: UIStateManager

Layout Controls: Bindable and Data Bind

There is a lot to say about the theory behind data binding and the types of patterns you can use in developing with a UI that supports data binding. This is not going to address all of that, but I … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Bindable and Data Bind

Layout Controls: LayoutButton

LayoutButton is an implementation of LayoutCapable to give layout capabilities to buttons and is attached to an NGUI UIButton. Just like a normal NGUI button, it has two children: a UISprite background and a UILabel for text. These need to … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: LayoutButton