Share via


SKTexture.PreloadTextures(SKTexture[], Action) 方法

定义

将纹理加载到内存中并在完成后调用 completion

[Foundation.Export("preloadTextures:withCompletionHandler:")]
public static void PreloadTextures (SpriteKit.SKTexture[] textures, Action completion);
static member PreloadTextures : SpriteKit.SKTexture[] * Action -> unit

参数

textures
SKTexture[]
completion
Action
属性

适用于