# Unit Stats Start

FlagsNative | Action | Restricted

Starts Unit Stats performance logging.

# Arguments

  • text — test Name
  • text — unit Name
  • text — unit Food

Returns — void

native void UnitStatsStart(
	text name,
	text unitName,
	text unitFood,
);

Category: Debug / Performance Testing

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:111

    // Automatic Variable Declarations
    // Implementation
    UnitStatsStart(StringToText(lp_name), StringExternal("Param/Value/lib_Sprt_4E3C325E"), StringExternal("Param/Value/lib_Sprt_22E09DDC"));
    PerfTestStart(StringToText(lp_name));
}