In this Unity tutorial, we’ll learn various ways our scripts can access and talk to each other. We’ll begin the tutorial by learning about all the built-in methods Unity gives us to talk between scripts and between objects. We’ll learn the how to find and access scripts on any game object using either direct connections, finding the object or the physics system. Finally we’ll examine how a script can call methods on many other scripts using the messaging system in Unity. Each of these methods has limitations, so next we’ll introduce the 3rd party script ‘Notification Center’ which acts as a central hub for easily communicating between multiple scripts. We’ll learn how to post a new notification, how to observe a notification and how to pass data through the Notification Center. We’ll wrap everything up by examining each of these methods and discuss which we should use in various situations. Understanding how our scripts will talk to each other lets us break our game into many script components, while still creating the functionality we need with the least amount of effort.
فیلم آموزشی Unity Mobile Game Development Communication with Notification Center ، قسمت شماره ۶ از ۲۱ قسمت آموزشی کامل نرم افزار Unity می باشد که توسط شرکت Digital Tutors تهیه و منتشر گردیده است . در این آموزش سعی شده تا شیوه های مختلف ارتباط بین اسکریپت ها و را ه های آن را بیان کنند . Chris Glick ، کارشناس و مدرس فیلم آموزشی Unity Mobile Game Development Communication with Notification Center ، به شما شیوه های ارتباط کاراکتر ها و اشیاء را از طریق اسکریپت آموزش می دهد و آموزش خود را با آشنایی با ابزار ها و نحوه اتصال آنها برای این هدف شروع می کند ، وی نشان می دهد که هر شی و یا کاراکتر به چه نوع اسکریپت و چگونه نیاز دارد تا بتواند در ارتباط فیزیکی با بقیه باشد . شما خواهی آموخت شیوه ارتباط اسکریپت ها با یکدیگر از طریق سیستم پیام در یونیتی . البته هر کدام از این روش ها با محدودیت هایی مواجه است که شما باید با آن محدودیت ها آشنا شوید تا بتوانید به درستی از آنها استفاده کنید . این فیلم آموزشی با داشتن فایل های تمرینی می تواند به شما کمک کند تا در هنگام آموزش بصورت عملی نیز آنرا انجام دهید .
Topics:
۰۱. Introduction and project overview
۰۲. Overview and limitations of built-in communication methods
۰۳. Component to Component communication on the same object
۰۴. Communication on other objects using the Inspector
۰۵. Finding objects and components at run-time
۰۶. Collisions with SendMessageUpwards and BroadcastMessage
۰۷. Notification Center and the Publish Subscribe design pattern
۰۸. Sending and Receiving a notification
۰۹. Having multiple scripts receive a notification
۱۰. Sending data with the notification function
۱۱. How to cast our notification data with other variables
۱۲. When to use Notification Center vs. other methods
قسمت های یک تا پنجش کو پس؟
موجوده
در سایت جستجو کنید
من عبرات Digital tutors Unity Mobile Game Development رو سرچ کردن ۲ صفحه نشون دا.شماره هارو دنبال کردم از ۱۶ تا ۶ هست بعدش فقط دوتا مجموعه هست که شماره اینارو نخورده.نیست.کجاست پس؟
تنها سه قسمت اول با نام های:
Digital tutors Beginners guide to Unity
Digital tutors Introduction to Unity
Digital tutors Introduction to Scripting in Unity
منتشر گشته و بقیه قسمت ها موجود است.قسمت های بعد نیز در طی روز های پیش رو منتشر می گردند.
اسم قسمت ۴ و ۵ چیه؟