Condividi tramite


SKSpriteNode.GetValue(String) Metodo

Definizione

Restituisce il valore dell'attributo per l'oggetto specificato key.

[Foundation.Export("valueForAttributeNamed:")]
[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.SKAttributeValue GetValue (string key);
override this.GetValue : string -> SpriteKit.SKAttributeValue

Parametri

key
String

Chiave che specifica l'attributo di cui ottenere il valore.

Restituisce

Attributi

Si applica a