Featured resource
2026 Tech Forecast
2026 Tech Forecast

Stay ahead of what’s next in tech with predictions from 1,500+ business leaders, insiders, and Pluralsight Authors.

Get these insights
  • Course

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. Software required: Unity 3.4.

Intermediate
1h 25m
(5)

Created by

Last Updated May 25, 2017

Course Thumbnail
  • Course

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. Software required: Unity 3.4.

Intermediate
1h 25m
(5)

Created by

Last Updated May 25, 2017

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Core Tech
What you'll learn

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. Software required: Unity 3.4.

Unity Mobile Game Development: Communication with Notification Center
Intermediate
1h 25m
(5)
Table of contents

Get started with Pluralsight