Version: 2019.4
Standard Events
Custom Event scripting

Custom Events

Note: Gaming Services Analytics is now available as a preview packageA preview package is in development and not yet ready for production. A package in preview might be at any stage of development, from the initial stages to near completion.
See in Glossary
. Gaming Services AnalyticsAbbreviation of Unity Analytics
See in Glossary
is an improved offering that allows you to easily understand game performance and player behaviors so you can make strategic decisions. Check out the documentation.

Custom Events can be any specific in-game action your user performs. They allow you to track the player behavior that Unity AnalyticsA data platform that provides analytics for your Unity game. More info
See in Glossary
does not track automatically, and for which there is no Standard Event. Each Custom Event can have up to ten parameters. There are no required parameters.

In general, you should only using Custom Events when no suitable Standard Event is defined. Because Standard Events have a defined context, Unity can provide better analysis and visualization support than for Custom Events.

You can send a Custom Event to the Analytics Service using the Analytics Event Tracker component. Just select Custom instead of a Standard Event. You can also send Custom Events using code.


  • 2018–03–02 Page published 2018–03–02 - Service compatible with Unity 5.2 onwards at this date but version compatibility may be subject to change

  • New feature in 5.2

  • Standard Events added as Unity package

Standard Events
Custom Event scripting
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961