共用方式為


SKAction.CreateChangeObstructionTo(Single, Double) 方法

定義

設定 的 SKAudioNode 阻礙。

[Foundation.Export("changeObstructionTo:duration:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static SpriteKit.SKAction CreateChangeObstructionTo (float target, double duration);
static member CreateChangeObstructionTo : single * double -> SpriteKit.SKAction

參數

target
Single
duration
Double

傳回

屬性

適用於