# SCell

**成员** 2

|      |                         |   |
| ---- | ----------------------- | - |
| 函数 | [GetObject](#getobject) | – |
| 属性 | [Objects](#objects)     | – |

## 函数

### GetObject

[SObject](/docs/zh-Hans/scripting/server-scripting-api-reference/region/sobject.md) GetObject(string id)

参数

| 名称 | 类型   | 默认值 |
| ---- | ------ | ------ |
| id   | string | –      |

返回值

`SObject`

示例

**Lua**

```lua
example 1

```

**Lua**

```lua
example 2

```

## 属性

### Objects

Table Objects {get; }

示例

**Lua**

```lua
example 1

```

**Lua**

```lua
example 2

```
