SObject
服务器场景
成员 12
| 函数 | GetProperty | – |
| 函数 | SetProperty | – |
| 属性 | Cell | – |
| 属性 | ID | – |
| 属性 | Floor | – |
| 属性 | Position | – |
| 属性 | Rotation | – |
| 属性 | Scale | – |
| 属性 | Player | – |
| 属性 | InventoryID | – |
| 属性 | ItemID | – |
| 属性 | Bounds | – |
函数
GetProperty
string GetProperty(string property)
参数
| 名称 | 类型 | 默认值 |
|---|---|---|
| property | string | – |
返回值
string
示例
Lua
example 1
Lua
example 2
SetProperty
void SetProperty(string property, string value)
参数
| 名称 | 类型 | 默认值 |
|---|---|---|
| property | string | – |
| value | string | – |
返回值
void
示例
Lua
example 1
Lua
example 2
属性
Cell只读
SCell Cell {get; }
示例
Lua
example 1
Lua
example 2
ID只读
string ID {get; }
示例
Lua
example 1
Lua
example 2
Floor只读
string Floor {get; }
示例
Lua
example 1
Lua
example 2
Position
Vector3 Position {get; set; }
示例
Lua
example 1
Lua
example 2
Rotation
Quaternion Rotation {get; set; }
示例
Lua
example 1
Lua
example 2
Scale
Vector3 Scale {get; set; }
示例
Lua
example 1
Lua
example 2
Player只读
int Player {get; }
示例
Lua
example 1
Lua
example 2
InventoryID只读
int InventoryID {get; }
示例
Lua
example 1
Lua
example 2
ItemID只读
int ItemID {get; }
示例
Lua
example 1
Lua
example 2
Bounds只读
Bounds Bounds {get; }
示例
Lua
example 1
Lua
example 2



