Düzenle

Aracılığıyla paylaş


SKTextureAtlas.PreloadTextureAtlasesAsync(String[]) Method

Definition

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<SpriteKit.SKTextureAtlasLoadResult> PreloadTextureAtlasesAsync (string[] atlasNames);
static member PreloadTextureAtlasesAsync : string[] -> System.Threading.Tasks.Task<SpriteKit.SKTextureAtlasLoadResult>

Parameters

atlasNames
String[]

Returns

A task that represents the asynchronous PreloadTextureAtlases operation. The value of the TResult parameter is of type Action<SpriteKit.SKTextureAtlasLoadResult>.

Attributes

Applies to