语法
getdeletedactors(): table返回值
| 名称 | 类型 | 描述 |
|---|---|---|
actors | table | Actor 实例的数组表。 |
说明
返回已删除但仍被跟踪的 Actor 实例。
无需参数即可调用。函数会从当前 runtime 状态读取所需上下文。
返回 actors (table)。使用返回表区分成功值、nil 结果和可恢复错误。
示例
使用占位值的示例调用。
local result = getdeletedactors()
print(result)Actors
getdeletedactors(): table| 名称 | 类型 | 描述 |
|---|---|---|
actors | table | Actor 实例的数组表。 |
返回已删除但仍被跟踪的 Actor 实例。
无需参数即可调用。函数会从当前 runtime 状态读取所需上下文。
返回 actors (table)。使用返回表区分成功值、nil 结果和可恢复错误。
使用占位值的示例调用。
local result = getdeletedactors()
print(result)