編集

次の方法で共有


SKTileMapNode.SetValue(SKAttributeValue, String) Method

Definition

Sets the attribute that is identified by key to value.

[Foundation.Export("setValue:forAttributeNamed:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetValue (SpriteKit.SKAttributeValue value, string key);
override this.SetValue : SpriteKit.SKAttributeValue * string -> unit

Parameters

value
SKAttributeValue

The attribute value to set.

key
String

The key for the attribute to set.

Attributes

Applies to