Class ActorIdentifierDataLog
Serialisable snapshot of an actor's identity — GUID, GameObject name, and tag list — that is sent to the backend as part of the study data pipeline.
[Serializable]
public class ActorIdentifierDataLog : DataLog
Inheritance
Remarks
DataCollector collect this data log from ActorIdentifier.
Constructors
ActorIdentifierDataLog(string, string, List<string>)
Initializes a new instance of the ActorIdentifierDataLog class using raw identity values.
public ActorIdentifierDataLog(string name, string GUID, List<string> tags)
Parameters
| Name | Type | Description |
|---|---|---|
name | string | The name of the GameObject. |
GUID | string | The string representation of the globally unique identifier. |
tags | List<string> | The list of tag names associated with the actor. |
ActorIdentifierDataLog(ActorIdentifier)
Initializes a new instance of the ActorIdentifierDataLog class based on an ActorIdentifier component.
public ActorIdentifierDataLog(ActorIdentifier identity)
Parameters
| Name | Type | Description |
|---|---|---|
identity | ActorIdentifier | The actor identity component to extract data from. |
Fields
GUID
The globally unique identifier (GUID) associated with the GameObject.
public string GUID
Field Value
string
name
The name of the GameObject that this identity data refers to.
public string name
Field Value
string
tags
A list of tag names (as strings) that are associated with this actor. These are derived from the ScriptableTag objects.
public List<string> tags
Field Value
List<string>