Skip to content
Version 2.11.0
↓ Get the launcher

IGameAssets.LoadImagineIcon method

Atlas/texture handle for a Battle Imagine card icon, async-loaded via ZResLoader. Returns null while loading or when no icon is available; uv is the icon’s sub-rect.

public object? LoadImagineIcon(int skillId, out UvRect uv)
parameter description
skillId The Battle Imagine skill id (from the entity’s equipped skill loadout).
uv The UV sub-rect for the icon. Set to (0,0,1,1) (full texture) when the texture is not yet available or the load failed.