All pages
Powered by GitBook
1 of 1

Loading...

SFurniture

Index

Functions Index

Function Name

Properties Index

Property Name

Functions

StoreCustomData

void StoreCustomData (string key, string value)

Function Description

Parameter
Type
Description

GetCustomData

string GetCustomData (string key)

Function Description

Parameter
Type
Description

Properties

InventoryItemID

int InventoryItemID get

Return the inventory ID of furniture.

Floor

Floor get

Return an SRoomFloor component of the floor this furniture is placed on.

MainCollider

MainCollider get

Property Description

GameObject

GameObject get

Property Description

void StoreCustomData (string key, string value)

string GetCustomData (string key)

int InventoryItemID get

SRoomFloor Floor get

SCollider MainCollider get

SGameObject GameObject get

SRoomFloor
SCollider
SGameObject
Space.Host.ExecutingObject.Furniture.StoreCustomData("AKey", "AValue")
theValue = Space.Host.ExecutingObject.Furniture.GetCustomData("AKey")
inventoryID = Space.Host.ExecutingObject.Furniture.InventoryItemID
sRoomFloor = Space.Host.ExecutingObject.Furniture.Floor
collider = Space.Host.ExecutingObject.Furniture.MainCollider
theGameObject = Space.Host.ExecutingObject.Furniture.GameObject