Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

Properties of the caret and selection

A caret (also known as a text insertion cursor) is a vertical bar used to represent where text will be inserted when typed. When the game is playing, a third child is automatically added to InputField named InputField Input Caret. When the Input Field is selected, the caret becomes visible.

The properties discussed in this section affect the look of the caret as well as the look of text if it is selected (or highlighted) using the caret.

The Caret Blink Rate property determines how quickly the caret will blink. The number assigned to this property represents how many times the caret will blink per second. The default value is 0.85.

The Caret Width property determines how thick the caret is in pixels. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content