Buttons

Revision for “Buttons” created on May 12, 2016 @ 08:13:27

Title
Buttons
Content
The Button control responds to a click from the user and is used to initiate or confirm an action. Familiar examples include the Submit and Cancel buttons used on web forms. Be sure to check out the Unity <a href="http://docs.unity3d.com/Manual/script-Button.html" target="_blank">Button</a> component, and the Material Design Guidelines on <a href="http://www.google.com/design/spec/components/buttons.html" target="_blank">Buttons</a> and <a href="http://www.google.com/design/spec/components/buttons-floating-action-button.html" target="_blank">Floating Action Buttons</a>. <video class="aligncenter" src="http://materialunity.com/wp-content/uploads/2016/05/Buttons.mp4" autoplay="autoplay" loop="loop" width="640" height="180"></video> <p style="text-align: center;"><span style="color: #808080;"><em>A floating action button (FAB), rectangular button, and icon button.</em></span></p> <a href="http://materialunity.com/wp-content/uploads/2016/05/2016-05-10-2.png" rel="attachment wp-att-142"><img class="wp-image-142 aligncenter" src="http://materialunity.com/wp-content/uploads/2016/05/2016-05-10-2.png" alt="2016-05-10 (2)" width="1002" height="564" /></a> <p style="text-align: center;"><em><span style="color: #808080;">A MaterialButton in the inspector.</span></em></p> <h1>Properties</h1> [table] Property,Function <strong>Interactable</strong>,Will this component accept input?~~- Controls the 'interactable' setting on the attached Button component.~~- Controls the visual alpha and shadow state of the button.~~- If you wish to disable button input and apply custom visuals\, you can toggle 'interactable' on the Button component and manually apply the visuals. <strong>Fit Width To Content,</strong>Should the button fit its width to match the content width + x padding? <strong>Fit Height To Content,</strong>Should the button fit its height to match the content height + y padding? <strong>External Properties,</strong>A collection of convenience properties that get or set properties belonging to objects relating to this component. <strong>Content Padding,</strong>The padding between the content and edge of the button. Used when fitting the button to the content size. <strong>Content Rect Transform,</strong>The RectTransform of the button's content. <strong>Background Image,</strong>The graphic representing the button's background. <strong>Shadow Canvas Group,</strong>The shadow canvas group. <strong>Text,</strong>The button's text. [/table] <h1>Details</h1> Coming soon!
Excerpt


OldNewDate CreatedAuthorActions
May 12, 2016 @ 08:13:27 admin
May 11, 2016 @ 07:12:43 [Autosave] admin
May 11, 2016 @ 06:46:31 admin
May 11, 2016 @ 06:12:32 admin
May 11, 2016 @ 06:12:07 admin
May 11, 2016 @ 05:50:09 admin
May 11, 2016 @ 05:49:35 admin
May 11, 2016 @ 05:46:20 admin
May 11, 2016 @ 05:45:45 admin
May 11, 2016 @ 05:41:45 admin
May 11, 2016 @ 05:39:44 admin
May 11, 2016 @ 05:39:00 admin
May 11, 2016 @ 05:38:38 admin
May 11, 2016 @ 05:37:11 admin
May 11, 2016 @ 05:34:06 admin
May 11, 2016 @ 05:30:48 admin
May 10, 2016 @ 15:39:46 admin
May 10, 2016 @ 15:37:53 admin
May 10, 2016 @ 15:26:41 admin
May 10, 2016 @ 15:07:06 admin
May 10, 2016 @ 14:50:50 admin
May 10, 2016 @ 14:24:37 admin
May 10, 2016 @ 14:23:03 admin
May 10, 2016 @ 14:19:01 admin
May 10, 2016 @ 14:18:29 admin
May 10, 2016 @ 14:17:05 admin
May 10, 2016 @ 14:16:22 admin
May 10, 2016 @ 12:37:43 admin
May 10, 2016 @ 12:36:32 admin
May 10, 2016 @ 10:23:05 admin