Bearbeiten

Freigeben über


SKAction.WaitForDuration Method

Definition

Overloads

WaitForDuration(Double, Double)

Creates an action that waits for a random amount of time in the range (sec - durationRange, sec + durationRange).

WaitForDuration(Double)

Creates an action that waits for sec seconds.

WaitForDuration(Double, Double)

Creates an action that waits for a random amount of time in the range (sec - durationRange, sec + durationRange).

[Foundation.Export("waitForDuration:withRange:")]
public static SpriteKit.SKAction WaitForDuration (double sec, double durationRange);
static member WaitForDuration : double * double -> SpriteKit.SKAction

Parameters

sec
Double
durationRange
Double

Returns

Attributes

Applies to

WaitForDuration(Double)

Creates an action that waits for sec seconds.

[Foundation.Export("waitForDuration:")]
public static SpriteKit.SKAction WaitForDuration (double sec);
static member WaitForDuration : double -> SpriteKit.SKAction

Parameters

sec
Double

Returns

Attributes

Applies to