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