Skip to main content

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​

NameTypeDescription
namestringThe name of the GameObject.
GUIDstringThe string representation of the globally unique identifier.
tagsList<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​

NameTypeDescription
identityActorIdentifierThe 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>

  • Remarks
  • Constructors
    • ActorIdentifierDataLog(string, string, List<string>)
    • ActorIdentifierDataLog(ActorIdentifier)
  • Fields
    • GUID
    • name
    • tags