Upravit

Sdílet prostřednictvím


SKTextureAtlas.PreloadTextureAtlases Method

Definition

Loads the named atlases and calls a completion handler after they are loaded.

[Foundation.Export("preloadTextureAtlasesNamed:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static void PreloadTextureAtlases (string[] atlasNames, SpriteKit.SKTextureAtlasLoadCallback completionHandler);
static member PreloadTextureAtlases : string[] * SpriteKit.SKTextureAtlasLoadCallback -> unit

Parameters

atlasNames
String[]
completionHandler
SKTextureAtlasLoadCallback
Attributes

Applies to