Condividi tramite


SKAction.CreateChangeChargeTo(Single, Double) Metodo

Definizione

Metodo Factory per creare un oggetto SKAction che modifica l'oggetto Charge specificato di PhysicsBody un SKNode oggetto in 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

Parametri

newCharge
Single
duration
Double

Restituisce

Attributi

Si applica a