SKNode.RunActionAsync(SKAction) 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.
Adds an action to the node that will be processed in the next animation loop, and calls completionHandler
after the action completes.
public virtual System.Threading.Tasks.Task RunActionAsync (SpriteKit.SKAction action);
abstract member RunActionAsync : SpriteKit.SKAction -> System.Threading.Tasks.Task
override this.RunActionAsync : SpriteKit.SKAction -> System.Threading.Tasks.Task
Parameters
- action
- SKAction
The action to add and run.
Returns
A task that represents the asynchronous RunAction operation
Remarks
The RunActionAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.