本教程是由Digital-Tutors机构出品的Unity手机游戏开发通信中心教程,时长:1小时25分,附工程源文件,使用软件:Unity 3.4,作者:Chris Glick,官方发布时间:2011年12月23日。 Unity是一款跨平台的游戏开发工具,从一开始就被设计成易于使用的产品。作为一个完全集成的专业级应用,Unity还包含了价值数百万美元的功能强大的游戏引擎。 Digital-Tutors Unity Mobile Game Development: Communication with Notification Center 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. 115网盘永久+FTP迅雷高速地址:
购买主题
已有 4 人购买
本主题需向作者支付 50 枚CG币 才能浏览
|
| |
| |
| |
| |
| |
| |