Skip to main content

AnalyticsTest

A class in Root.Township, the global namespace.

Obsolete debug component that logs a Xsolla login event as JSON and creates an empty gzip file.txt. Marked obsolete in favour of the new analytics system.

Constructors​

MemberWhat it is
AnalyticsTest()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

1 private and internal field
MemberWhat it is
private string userIDUser id put in the test event ("100001" by default).

Methods​

1 private and internal method
MemberWhat it is
private void Start()Logs a test login event and opens file.txt in the working folder through a gzip stream.