Skip to main content

Class RemoteControlSignal

An asset representing an emitted remote control signal. The signal connects remote control message with coressponding actions.

[CreateAssetMenu(fileName = "New RemoteControlSignal", menuName = "ScriptableObject/Configuration Assets/Remote Control Button Configuration")]
public class RemoteControlSignal : ScriptableObject

Inheritance​

Fields​

ID​

Unique identifier for this signal asset.

[Tooltip("Persistent GUID used to identify this signal across builds.")]
public string ID

Field Value​

string

Remarks​

The value is automatically assigned in the Editor using the ScriptableObjectIdAttribute. This GUID remains available at runtime, enabling the system to reference the asset after build.

Name​

The name of the signal. This is the identifier being time stamped.

[Tooltip("A human-readable name used to reference and log this signal.")]
public string Name

Field Value​

string

Tags​

Tags associated with this signal for categorization, filtering, or logging.

[Tooltip("Tags used to organize, categorize, or log this signal.")]
public ScriptableTag[] Tags

Field Value​

ScriptableTag[]

Text​

Optional description or instruction text shown to users.

[Tooltip("An optional description or instruction related to this signal.")]
[TextArea]
public string Text

Field Value​

string

Methods​

ToDTO()​

Creates a serializable Data Transfer Object (DTO) containing this signal's core data, suitable for JSON serialization and data transmission.

public RemoteControlSignal.RemoteControlSignalDTO ToDTO()

Returns​

RemoteControlSignal.RemoteControlSignalDTO — A RemoteControlSignalDTO instance with this asset's ID, Name, Tags, and Text.