# PrecacheUnitByNameAsync
void PrecacheUnitByNameAsync(string_1, handle_2, int_3)
# Class
✔️ Server: Global
❌ Client: undefined
# Function Description
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 |