У нас вы можете посмотреть бесплатно Loops and Arrays | Unity C# Basics Part 2 | Unity Tutorial или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Learn about some critical fundamentals - Arrays and Loops. They usually go hand in hand so it just felt right to talk about them together. In this tutorial, aimed at absolute beginners who have very little to no coding experience whatsoever, you'll learn: ⚫ What Loops are. ⚫ What kinds of Loops are available in C# ⚫ A step-by-step breakdown of what each statement is doing, why it's happening, and how it works. ⚫ How to make multiple TextMeshProUGUI components on the screen count up over time from a single script 👨💻As always, all code from this video is available on GitHub: https://github.com/llamacademy/unity-... 🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect... Full Series Playlist Here: • Want to Start Writing Code in Unity? Start... ⚫ Part 1 - Writing your first script - • Want to Start Writing Code in Unity? Start... ⚫ Part 2 - Loops and Arrays - • Loops and Arrays | Unity C# Basics Part 2 ... ⚫ Part 3 - Unity Component Lifecycle - • MonoBehaviour Lifecycle Basics - Awake On... ⚫ Part 4 - Static vs Instances - • Static vs Instances | Unity C# Basics Part 4 ⚫ Part 5 - Delegates - • Delegates in C# for Unity Coding Beginners... ⚫ Part 6 - Inheritance & Interfaces - • Inheritance and Interfaces for Beginners |... ⚫ Part 7 - Compositional Relationships - • Compositional Relationships - You've Alrea... 📝📝📝YOUR HOMEWORK!📝📝📝 Tip: There's a bunch of ways to approach this, but one way that I like to do it takes advantage of a handy "remainder" operator called the modulus operator: https://docs.microsoft.com/en-us/dotn... Update this script so will display the updated TimeDisplay on only a single TextMeshProUGUI component on a frame. On frame 1, the first TextMeshProUGUI component should display the TimeDisplay On frame 2, the second TextMeshProUGUI component should display the updated TimeDisplay, the first TextMeshProUGUI component should still show the last TimeDisplay value. On frame 3, the third TextMeshProUGUI component should display the updated TimeDisplay, the first TextMeshProUGUI component should still show the first TimeDisplay value, and the second TextMeshProUGUI component should display the last value. etc... through the end of the TextMeshProUGUI components. Once we've reached frame 8 (since we only have 7 TextMeshProUGUI components) it should update the first TextMeshProUGUI component again and continue with this pattern. This should work for any number of TextMeshProUGUI components, or any size of the Texts array. Add a comment below with a video showing your code and the end result. 📚 For those looking to get ahead of the next video, consider some further reading on resources I brought up during this tutorial 📚 ⚫ https://docs.microsoft.com/en-us/dotn... ⚫ https://docs.microsoft.com/en-us/dotn... ⚫ https://en.wikipedia.org/wiki/For_loop ⚫ https://en.wikipedia.org/wiki/While_loop ⚫ https://en.wikipedia.org/wiki/Do_whil... ⚫ https://en.wikipedia.org/wiki/Foreach... 🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support: 🌟 Patreon: / llamacademy 🌟 YouTube Member: / @llamacademy or click the Join button on any video 📚 Take my Unity ShaderGraph Course: https://www.gamedev.tv/p/unity-shader... 👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/ 💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4 💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate) 💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate) Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase. Chapters: 00:00 What to Expect 02:45 Review Scene 03:33 Array Introduction 06:50 The FOR Loop 11:33 Demo 12:40 The WHILE Loop 15:57 The DO WHILE Loop 18:32 The FOREACH Loop 20:06 Array Creation and Assignment 22:22 Homework, Last Homework Answer, and Final Thoughts