SKAction.CreateChangeChargeTo(Single, Double) 方法

定义

用于创建 的SKAction工厂方法,用于将 Charge 对象的 PhysicsBody 的指定SKNode更改为 newCharge

[Foundation.Export("changeChargeTo: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 CreateChangeChargeTo (float newCharge, double duration);
static member CreateChangeChargeTo : single * double -> SpriteKit.SKAction

参数

newCharge
Single
duration
Double

返回

属性

适用于