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 a, handle b)
Asynchronously precaches a DOTA unit by its dota_npc_units.txt name, provides a callback when it's finished.
Parameters
| Type | Name | Description |
|---|---|---|
| string | a | No Description Set |
| handle | b | No Description Set |