편집

다음을 통해 공유


SKNode.MoveToParent(SKNode) Method

Definition

Changes the Parent of this SKNode to parent.

[Foundation.Export("moveToParent:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void MoveToParent (SpriteKit.SKNode parent);
abstract member MoveToParent : SpriteKit.SKNode -> unit
override this.MoveToParent : SpriteKit.SKNode -> unit

Parameters

parent
SKNode
Attributes

Applies to