Modifica

Condividi tramite


SKNode.EnumerateChildNodes(String, SKNodeChildEnumeratorHandler) Method

Definition

Passes each child node that matches name, along with a reference to a boolean value, to enumerationHandler. App devs can set the referenced boolean value to true to stop iteration.

[Foundation.Export("enumerateChildNodesWithName:usingBlock:")]
public virtual void EnumerateChildNodes (string name, SpriteKit.SKNodeChildEnumeratorHandler enumerationHandler);
abstract member EnumerateChildNodes : string * SpriteKit.SKNodeChildEnumeratorHandler -> unit
override this.EnumerateChildNodes : string * SpriteKit.SKNodeChildEnumeratorHandler -> unit

Parameters

name
String
enumerationHandler
SKNodeChildEnumeratorHandler
Attributes

Applies to