Breakroom is now Sinewave Campus. Book a meeting

SObject

服务器场景
在此类中GetProperty
  1. 函数
  2. GetProperty
  3. SetProperty
  4. 属性
  5. Cell
  6. ID
  7. Floor
  8. Position
  9. Rotation
  10. Scale
  11. Player
  12. InventoryID
  13. ItemID
  14. Bounds
成员 12
函数GetProperty–
函数SetProperty–
属性Cell–
属性ID–
属性Floor–
属性Position–
属性Rotation–
属性Scale–
属性Player–
属性InventoryID–
属性ItemID–
属性Bounds–

函数​

GetProperty​

string GetProperty(string property)

参数

名称类型默认值
propertystring–

返回值

string

示例

Lua
example 1
Lua
example 2

SetProperty​

void SetProperty(string property, string value)

参数

名称类型默认值
propertystring–
valuestring–

返回值

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