編輯

共用方式為


SKNode.UserData Property

Definition

Gets or sets the dictionary of values that the application developer can use to store custom data on the node.

public virtual Foundation.NSMutableDictionary UserData { [Foundation.Export("userData", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setUserData:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.UserData : Foundation.NSMutableDictionary with get, set

Property Value

(More documentation for this node is coming)

This value can be null.

Attributes

Applies to