共用方式為


SKNode.GetObstaclesFromNodeBounds(SKNode[]) 方法

定義

[Foundation.Export("obstaclesFromNodeBounds:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static GameplayKit.GKPolygonObstacle[] GetObstaclesFromNodeBounds (SpriteKit.SKNode[] nodes);
static member GetObstaclesFromNodeBounds : SpriteKit.SKNode[] -> GameplayKit.GKPolygonObstacle[]

參數

nodes
SKNode[]

傳回

屬性

適用於