{"id":32029,"date":"2024-11-01T09:05:06","date_gmt":"2024-11-01T09:05:06","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=32029"},"modified":"2024-11-01T11:33:37","modified_gmt":"2024-11-01T11:33:37","slug":"unity-basics-course-creating-titlestext","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/32029\/","title":{"rendered":"Unity Basics Course: Creating Titles(Text)"},"content":{"rendered":"<p><body><\/p>\n<p>Unity is a powerful engine for game development that allows you to easily and efficiently create games<br \/>\n    for various platforms. In this tutorial, we will learn in detail how to manage text in Unity and create<br \/>\n    headings when necessary. Text is one of the key elements that enhances the realism of a game. Therefore,<br \/>\n    it is very important to thoroughly understand how to use text as a UX\/UI element.<\/p>\n<h2>1. Using Text in Unity<\/h2>\n<p>To use text in Unity, you need the &#8216;Text&#8217; component. This component is part of the UI system provided by<br \/>\n    Unity, allowing text to be displayed on the screen. You can also adjust the style, size, color, and more of<br \/>\n    the text through various settings.<\/p>\n<h3>1.1 Adding a Text Component<\/h3>\n<p>To add a Text component, follow these steps:<\/p>\n<ol>\n<li>Right-click in the Hierarchy window and select <strong>UI &gt; Text<\/strong>.<\/li>\n<li>The newly added Text object will be placed inside the Canvas.<\/li>\n<li>Open the Inspector window to check the Text component. Here you can adjust various properties.<\/li>\n<\/ol>\n<h2>2. Understanding Text Component Properties<\/h2>\n<p>The Text component consists of various properties that determine how the text looks and behaves. The main<br \/>\n    properties include:<\/p>\n<h3>2.1 Text Property<\/h3>\n<p>The most basic property, &#8216;Text&#8217;, determines the content displayed on the screen. For example, if you enter<br \/>\n    &#8216;Hello, World!&#8217;, that content will appear on the screen.<\/p>\n<h3>2.2 Font Property<\/h3>\n<p>Use the Font property to select the font to be used for the text. In Unity, you can use custom fonts<br \/>\n    through additional TTF or OTF files in addition to the default font.<\/p>\n<h3>2.3 Font Size<\/h3>\n<p>Font Size is the property that adjusts the size of the text. Increasing this value will make the text<br \/>\n    larger, while decreasing it will make it smaller.<\/p>\n<h3>2.4 Color<\/h3>\n<p>The Color property determines the color of the text. You can set the desired color using RGB values, and<br \/>\n    easily select colors using the &#8216;Color Picker&#8217;.<\/p>\n<h2>3. Creating Headings: A Practical Exercise<\/h2>\n<p>Now, let&#8217;s practice creating headings using the Text component we created.<br \/>\n    Headings should be larger and more prominent than normal text, so we will choose a bolder font and increase<br \/>\n    the size.<\/p>\n<h3>3.1 Generating Heading Text<\/h3>\n<p>First, add a UI text in the Hierarchy window, then start configuring it in the Inspector window.<br \/>\n    Enter &#8216;Game Title&#8217; in the &#8216;Text&#8217; property.<\/p>\n<h3>3.2 Adjusting Properties<\/h3>\n<p>Now, select a font suitable for the heading in the Font property. For example, a font like &#8216;Arial Black&#8217;<br \/>\n    may be appropriate. Then set the Font Size to 32 or 48 to make it stand out.<\/p>\n<h3>3.3 Setting Color<\/h3>\n<p>In the Color property, try selecting white (#FFFFFF) or bright yellow (#FFFF00). A color that is vibrant<br \/>\n    and easily noticeable is preferred.<\/p>\n<h3>3.4 Aligning Text<\/h3>\n<p>You can align the text to the left, center, or right through the text alignment property. Headings are<br \/>\n    typically more effective when center-aligned. Select &#8216;Center&#8217; in &#8216;Alignment&#8217;.<\/p>\n<h2>4. Advanced Settings<\/h2>\n<p>After creating the heading and setting the basic properties, let&#8217;s take a look at additional advanced settings.<\/p>\n<h3>4.1 Adding Shadow to Text<\/h3>\n<p>By adding a shadow to the text, you can provide depth or enhance readability. To do this, add the<br \/>\n    <strong>Shadow<\/strong> component. This component can be added below the Text to create a shadow effect.<\/p>\n<p>\n        Adding a shadow is quite simple: Select the heading text in the Hierarchy, click <strong>Add Component<\/strong> in the<br \/>\n        Inspector window, and select <strong>Effects &gt; Shadow<\/strong>. This will create a shadow beneath the<br \/>\n        text. You can adjust the shadow&#8217;s color and direction to achieve the desired effect.\n    <\/p>\n<h3>4.2 Text Animation<\/h3>\n<p>You can add animations to the text for a more dynamic effect. For example, you can set it to appear smoothly<br \/>\n    when the heading comes onto the screen. To do this, use the <strong>Animator<\/strong>.<\/p>\n<h4>How to Set Up Animation:<\/h4>\n<ol>\n<li>First, select the heading text and go to <strong>Window &gt; Animation &gt; Animation<\/strong>.<\/li>\n<li>In the Animation window, click the &#8220;+&#8221; icon to create a new animation clip.<\/li>\n<li>Name the animation, for example, &#8220;TitleAppear&#8221;.<\/li>\n<li>Add keyframes for adjusting the transparency of the text in the animation panel to create a fading effect.<\/li>\n<\/ol>\n<h2>5. Practical Example<\/h2>\n<p>Let&#8217;s look at various examples of using headings. For instance, let&#8217;s create a heading that says<br \/>\n    &#8220;The Adventure Begins!&#8221; for the start screen of an RPG game.<\/p>\n<h3>Example: Creating an RPG Game Title Screen<\/h3>\n<p>\n        1. Add a Text component as described above and input &#8220;The Adventure Begins!&#8221; in the Text property.<br \/>\n        2. In the Font property, select a fun and adventurous font like &#8216;Bangers&#8217;.<br \/>\n        3. Set the Font Size to 64 and choose a bright blue color (#00BFFF).<br \/>\n        4. Set the text alignment to Center to position it in the middle of the screen.\n    <\/p>\n<h3>Adding Animation Effects<\/h3>\n<p>If the heading has a slight bounce effect when it appears, it will be more interesting. To do this, add<br \/>\n    keyframes to change the &#8216;Scale&#8217; of the text using the animation technique described earlier.<\/p>\n<h2>6. Handling Fonts: Advanced Editing<\/h2>\n<p>The fonts used in a game greatly influence the user experience. Therefore, we will explore ways to use<br \/>\n    custom fonts or modify fonts when necessary.<\/p>\n<h3>6.1 Importing Custom Fonts<\/h3>\n<p>To import custom font files (TTF or OTF), simply drag and drop the files into the &#8216;Assets&#8217; folder of the<br \/>\n    project. Then, you can select the newly added font in the Font property of the text component you wish to use.<\/p>\n<h3>6.2 Adjusting Font Style and Size<\/h3>\n<p>After using the custom font, you can still adjust the Font Size and proportions. However, it is important<br \/>\n    to ensure the text remains legible.<\/p>\n<h2>7. Conclusion<\/h2>\n<p>In this tutorial, we covered a wide range of topics, starting with the basics of creating headings in<br \/>\n    Unity, to advanced animations and using custom fonts. Text is a crucial element that enhances the appeal of<br \/>\n    a game and improves user experience. Moreover, develop your sense of UI design and utilize various effects<br \/>\n    to create more engaging games!<\/p>\n<h2>8. Additional Learning Resources<\/h2>\n<p>If you want to explore deeper methods for utilizing text in Unity, please refer to the following resources:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.unity3d.com\/Manual\/script-Text.html\">Unity Documentation: UI Text<\/a><\/li>\n<li><a href=\"https:\/\/learn.unity.com\/courses\/introduction-to-ui\">Unity Learn: Introduction to UI<\/a><\/li>\n<li><a href=\"https:\/\/www.udemy.com\/course\/unitycourse\/\">Udemy: Complete Unity 2D Game Development Course<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unity is a powerful engine for game development that allows you to easily and efficiently create games for various platforms. In this tutorial, we will learn in detail how to manage text in Unity and create headings when necessary. Text is one of the key elements that enhances the realism of a game. Therefore, it &hellip; <a href=\"https:\/\/atmokpo.com\/w\/32029\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Unity Basics Course: Creating Titles(Text)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[135],"tags":[],"class_list":["post-32029","post","type-post","status-publish","format-standard","hentry","category-unity-basic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Unity Basics Course: Creating Titles(Text) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/32029\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Unity Basics Course: Creating Titles(Text) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Unity is a powerful engine for game development that allows you to easily and efficiently create games for various platforms. In this tutorial, we will learn in detail how to manage text in Unity and create headings when necessary. Text is one of the key elements that enhances the realism of a game. Therefore, it &hellip; \ub354 \ubcf4\uae30 &quot;Unity Basics Course: Creating Titles(Text)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/32029\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T09:05:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T11:33:37+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/32029\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32029\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Unity Basics Course: Creating Titles(Text)\",\"datePublished\":\"2024-11-01T09:05:06+00:00\",\"dateModified\":\"2024-11-01T11:33:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32029\/\"},\"wordCount\":993,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Unity Basic\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/32029\/\",\"url\":\"https:\/\/atmokpo.com\/w\/32029\/\",\"name\":\"Unity Basics Course: Creating Titles(Text) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T09:05:06+00:00\",\"dateModified\":\"2024-11-01T11:33:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/32029\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/32029\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/32029\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Unity Basics Course: Creating Titles(Text)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Unity Basics Course: Creating Titles(Text) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/32029\/","og_locale":"ko_KR","og_type":"article","og_title":"Unity Basics Course: Creating Titles(Text) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Unity is a powerful engine for game development that allows you to easily and efficiently create games for various platforms. In this tutorial, we will learn in detail how to manage text in Unity and create headings when necessary. Text is one of the key elements that enhances the realism of a game. Therefore, it &hellip; \ub354 \ubcf4\uae30 \"Unity Basics Course: Creating Titles(Text)\"","og_url":"https:\/\/atmokpo.com\/w\/32029\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T09:05:06+00:00","article_modified_time":"2024-11-01T11:33:37+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/32029\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/32029\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Unity Basics Course: Creating Titles(Text)","datePublished":"2024-11-01T09:05:06+00:00","dateModified":"2024-11-01T11:33:37+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/32029\/"},"wordCount":993,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Unity Basic"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/32029\/","url":"https:\/\/atmokpo.com\/w\/32029\/","name":"Unity Basics Course: Creating Titles(Text) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T09:05:06+00:00","dateModified":"2024-11-01T11:33:37+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/32029\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/32029\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/32029\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Unity Basics Course: Creating Titles(Text)"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32029","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=32029"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32029\/revisions"}],"predecessor-version":[{"id":32030,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/32029\/revisions\/32030"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=32029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=32029"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=32029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}