Share via


SKScene.Listener 属性

定义

对于定位 SKAudioNode 对象,这将 SKNode 指定正在侦听的人员的位置。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual SpriteKit.SKNode Listener { [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("listener", ObjCRuntime.ArgumentSemantic.Weak)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setListener:", ObjCRuntime.ArgumentSemantic.Weak)] set; }
member this.Listener : SpriteKit.SKNode with get, set

属性值

(即将推出有关此节点的更多文档)

此值可为 null

属性

适用于