O'Reilly logo

Practical Game Design with Unity and Playmaker by Sergey Mohov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Scripting and Custom Actions

In previous chapters, you learned how to make a game using Playmaker's in-built actions. Unfortunately, their capabilities are limited, and sooner or later you will find yourself in need of something that Playmaker does not know how to do out-of-the-box. In this case, you can try and find a ready-made solution on the Internet, but to make sure that there is an answer to every one of your questions, you will certainly have to learn how to write scripts. These are the topics that we will discuss in this chapter:

  • Programming in Unity JavaScript (sometimes also called UnityScript) and C#
  • Common Unity classes, variables, and functions
  • Writing a script and using it as component
  • Transforming a script into a Playmaker ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required