SRoomFloor
客户端组件
成员 7
| 属性 | Enabled | Status of enable or disable room floor component |
| 属性 | Name | Name of this floor |
| 属性 | Description | Description of this floor. |
| 属性 | IsDefaultFloor | Is this default floor? |
| 属性 | Furniture | Get all furniture game objects |
| 属性 | Owner | Return the ID of the user account that owns this room floor, if any. |
| 属性 | GameObject | – |
属性
Enabled
bool Enabled {get; set; }
Status of enable or disable room floor component
示例
Lua
Space.Host.ExecutingObject.Floor.Enabled = false
Name只读
string Name {get; }
Name of this floor
示例
Lua
Space.Host.ExecutingObject.Floor.Name
Description只读
string Description {get; }
Description of this floor.
示例
Lua
floorDescription = Space.Host.ExecutingObject.Floor.Description
IsDefaultFloor只读
bool IsDefaultFloor {get; }
Is this default floor?
示例
Lua
isDefault = Space.Host.ExecutingObject.Floor.IsDefaultFloor
Furniture只读
Get all furniture game objects
示例
Lua
furnitureInFloor = Space.Host.ExecutingObject.Floor.Furniture
Owner只读
int Owner {get; }
Return the ID of the user account that owns this room floor, if any.
示例
Lua
ownerID = Space.Host.ExecutingObject.Floor.Owner
GameObject只读
示例
Lua
theGameObject = Space.Host.ExecutingObject.Floor.GameObject



