Breakroom is now Sinewave Campus. Book a meeting

SRoomFloor

ClientComposants
Dans cette classeEnabled
  1. Propriétés
  2. Enabled
  3. Name
  4. Description
  5. IsDefaultFloor
  6. Furniture
  7. Owner
  8. GameObject
Membres 7
PropriétéEnabledStatus of enable or disable room floor component
PropriétéNameName of this floor
PropriétéDescriptionDescription of this floor.
PropriétéIsDefaultFloorIs this default floor?
PropriétéFurnitureGet all furniture game objects
PropriétéOwnerReturn the ID of the user account that owns this room floor, if any.
PropriétéGameObject–

Propriétés​

Enabled​

bool Enabled {get; set; }

Status of enable or disable room floor component

Exemple

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

NameLecture seule​

string Name {get; }

Name of this floor

Exemple

Lua
Space.Host.ExecutingObject.Floor.Name

DescriptionLecture seule​

string Description {get; }

Description of this floor.

Exemple

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

IsDefaultFloorLecture seule​

bool IsDefaultFloor {get; }

Is this default floor?

Exemple

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

FurnitureLecture seule​

SGameObject[] Furniture {get; }

Get all furniture game objects

Exemple

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

OwnerLecture seule​

int Owner {get; }

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

Exemple

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

GameObjectLecture seule​

SGameObject GameObject {get; }

Exemple

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