Edytuj

Udostępnij za pośrednictwem


GKScene.FromFile Method

Definition

Overloads

FromFile(String)
FromFile(String, IGKSceneRootNodeType)

FromFile(String)

[Foundation.Export("sceneWithFileNamed:")]
public static GameplayKit.GKScene FromFile (string filename);
static member FromFile : string -> GameplayKit.GKScene

Parameters

filename
String

Returns

Attributes

Applies to

FromFile(String, IGKSceneRootNodeType)

[Foundation.Export("sceneWithFileNamed:rootNode:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static GameplayKit.GKScene FromFile (string filename, GameplayKit.IGKSceneRootNodeType rootNode);
static member FromFile : string * GameplayKit.IGKSceneRootNodeType -> GameplayKit.GKScene

Parameters

filename
String

Returns

Attributes

Applies to