Compartilhar via


SKAction.CreateChangeChargeTo(Single, Double) Método

Definição

Método de fábrica para criar um SKAction que altera o Charge especificado de um SKNode objeto PhysicsBody para 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

Parâmetros

newCharge
Single
duration
Double

Retornos

Atributos

Aplica-se a