Skip to Content
Unity 2017 Mobile Game Development
book

Unity 2017 Mobile Game Development

by John P. Doran
November 2017
Beginner to intermediate content levelBeginner to intermediate
360 pages
6h 40m
English
Packt Publishing
Content preview from Unity 2017 Mobile Game Development

Using the AnalyticsTracker component

Now, one of the simplest ways to track when something occurs is through the editor itself, making use of the Analytics Tracker (Script) component. For example, perform the following steps when you want to track whether players are using the Pause menu.

  1. Open the Gameplay scene by going to the Project window and then to the Assets\Scenes folder. From there, double-click on the Gameplay scene.
  2. From the Hierarchy window, expand the Canvas object. From there, select Pause Menu.
  1. From the top bar, select Component | Analytics | AnalyticsTracker to add the component to our selected game object:
  1. Next, we will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Holistic Mobile Game Development with Unity

Holistic Mobile Game Development with Unity

Penny de Byl
Hands-On Unity 2020 Game Development

Hands-On Unity 2020 Game Development

Nicolas Alejandro Borromeo

Publisher Resources

ISBN: 9781787288713Supplemental Content