SKAction.WaitForDuration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WaitForDuration(Double, Double) |
Creates an action that waits for a random amount of time in the range ( |
WaitForDuration(Double) |
Creates an action that waits for |
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