共用方式為


SKTextureAtlas.PreloadTexturesAsync(SKTextureAtlas[]) 方法

定義

在完成時預先載入指定的紋理 atlas 和呼叫 completion 清單。

public static System.Threading.Tasks.Task PreloadTexturesAsync (SpriteKit.SKTextureAtlas[] textures);
static member PreloadTexturesAsync : SpriteKit.SKTextureAtlas[] -> System.Threading.Tasks.Task

參數

textures
SKTextureAtlas[]

傳回

表示非同步 PreloadTextures 作業的工作

適用於