Breakroom is now Sinewave Campus. Book a meeting

SRoomFloor

ClientComponents
On this classEnabled
  1. Properties
  2. Enabled
  3. Name
  4. Description
  5. IsDefaultFloor
  6. Furniture
  7. Owner
  8. GameObject
Members 7
PropertyEnabledStatus of enable or disable room floor component
PropertyNameName of this floor
PropertyDescriptionDescription of this floor.
PropertyIsDefaultFloorIs this default floor?
PropertyFurnitureGet all furniture game objects
PropertyOwnerReturn the ID of the user account that owns this room floor, if any.
PropertyGameObject–

Properties​

Enabled​

bool Enabled {get; set; }

Status of enable or disable room floor component

Example

Lua
Space.Host.ExecutingObject.Floor.Enabled = false

NameRead only​

string Name {get; }

Name of this floor

Example

Lua
Space.Host.ExecutingObject.Floor.Name

DescriptionRead only​

string Description {get; }

Description of this floor.

Example

Lua
floorDescription = Space.Host.ExecutingObject.Floor.Description

IsDefaultFloorRead only​

bool IsDefaultFloor {get; }

Is this default floor?

Example

Lua
isDefault = Space.Host.ExecutingObject.Floor.IsDefaultFloor

FurnitureRead only​

SGameObject[] Furniture {get; }

Get all furniture game objects

Example

Lua
furnitureInFloor = Space.Host.ExecutingObject.Floor.Furniture

OwnerRead only​

int Owner {get; }

Return the ID of the user account that owns this room floor, if any.

Example

Lua
ownerID = Space.Host.ExecutingObject.Floor.Owner

GameObjectRead only​

SGameObject GameObject {get; }

Example

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