Breakroom is now Sinewave Campus. Book a meeting

SRoomFloor

客户端组件
在此类中Enabled
  1. 属性
  2. Enabled
  3. Name
  4. Description
  5. IsDefaultFloor
  6. Furniture
  7. Owner
  8. GameObject
成员 7
属性EnabledStatus of enable or disable room floor component
属性NameName of this floor
属性DescriptionDescription of this floor.
属性IsDefaultFloorIs this default floor?
属性FurnitureGet all furniture game objects
属性OwnerReturn 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只读​

SGameObject[] Furniture {get; }

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只读​

SGameObject GameObject {get; }

示例

Lua
theGameObject = Space.Host.ExecutingObject.Floor.GameObject