Version: Unity 6 (6000.0)
Language : English
The Activity application entry point
Extend the default Unity activity

Activity requirements and compatibility

Activity was originally the only application entry point that Unity supported and because of this it’s very stable in the majority of scenarios and is compatible with the majority of Unity features.

Plug-in compatibility

If you use Activity, your application player loop runs on a Java thread. This means that you can call Java APIs like myLooper from plug-insA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info
See in Glossary
.

Choreographer

If you use Activity, Unity uses the Java choreographer. This helps you to understand how frame synchronization occurs in your application.

Additional resources

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