Class Activity2D

Class Hierarchy

Use an Activity 2D to create a part of an application UI that is responsible for a task. For example, a media player application can have Activity nodes, such as radio, music player, and AUX. To define the rules when an Activity node is active, use an Activity Host node.

Inherits properties and message types from Activity2DMetadata.

Synopsis

Methods
create()

Creates an instance of Activity2D

Activity2D:create(objectName)

Creates an instance of Activity2D.

Parameters
objectName (string)

The name of the object.