SKAction.Create Method

Definition

Overloads

Create(String)

Factory method to create a SKAction with the specified name.

Create(String, NSUrl)

Factory method to create a SKAction with the specified name, as defined in the action file located at url.

Create(String, Double)

Factory method to create a SKAction with the specified name, of the specified duration, in seconds.

Create(String, NSUrl, Double)

Factory method to create a SKAction with the specified name, as defined in the action file located at url.

Create(String)

Factory method to create a SKAction with the specified name.

[Foundation.Export("actionNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name);
static member Create : string -> SpriteKit.SKAction

Parameters

name
String

Returns

Attributes

Applies to

Create(String, NSUrl)

Factory method to create a SKAction with the specified name, as defined in the action file located at url.

[Foundation.Export("actionNamed:fromURL:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name, Foundation.NSUrl url);
static member Create : string * Foundation.NSUrl -> SpriteKit.SKAction

Parameters

name
String
url
NSUrl

Returns

Attributes

Applies to

Create(String, Double)

Factory method to create a SKAction with the specified name, of the specified duration, in seconds.

[Foundation.Export("actionNamed:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name, double duration);
static member Create : string * double -> SpriteKit.SKAction

Parameters

name
String
duration
Double

Returns

Attributes

Applies to

Create(String, NSUrl, Double)

Factory method to create a SKAction with the specified name, as defined in the action file located at url.

[Foundation.Export("actionNamed:fromURL:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction Create (string name, Foundation.NSUrl url, double duration);
static member Create : string * Foundation.NSUrl * double -> SpriteKit.SKAction

Parameters

name
String
url
NSUrl
duration
Double

Returns

Attributes

Applies to