InstanceHandleデータ型
データ型日本語解説は準備中
ひとことで言うと
InstanceHandleは、ロブロックス(Roblox)のデータ型です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):A lightweight, weak reference to an Instance that might not be available locally.
コンストラクター(作り方)(1)
| 名前と書き方 | 説明 |
|---|---|
newInstanceHandle.new(instance: Instance?) | Returns a new InstanceHandle referring to the given Instance. |
メソッド(2)
| 名前と書き方 | 説明 |
|---|---|
GetInstanceHandle:Get(): Instance? | Returns the referenced Instance if it's available locally, otherwise nil. |
WaitInstanceHandle:Wait(timeout: number?): Instance? | Yields until the referenced Instance is available locally, then returns it. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(InstanceHandle)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。