Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
EncodedObjectAsID
繼承: RefCounted < Object
保存對 Object 實例 ID 的引用。
說明
實用程式類,其中包含對 Object 實例的內部識別字的引用,由 Object.get_instance_id() 給出。然後可以使用該 ID 通過 @GlobalScope.instance_from_id() 檢索物件實例。
該類由編輯器屬性檢視器和腳本除錯器在內部使用,但也可用於外掛程式中,以使用其 ID 傳遞和顯示物件。
屬性
|
屬性說明
儲存在該 EncodedObjectAsID 實例中的 Object 識別字。可以使用 @GlobalScope.instance_from_id() 檢索物件實例。