Dota 2 Workshop Tools/Scripting/API/Global.PrecacheUnitByNameAsync
< Dota 2 Workshop Tools | Scripting | API
		
		
		
		Jump to navigation
		Jump to search
		Function Description
void PrecacheUnitByNameAsync(string string_1, handle handle_2, int int_3)
Asynchronously precaches a DOTA unit by its dota_npc_units.txt name, provides a callback when it's finished.
Parameters
| Type | Name | Description | 
|---|---|---|
| string | string_1 | No Description Set | 
| handle | handle_2 | No Description Set | 
| int | int_3 | No Description Set |