API reference
API reference
Select your platform
No SDKs available
No versions available

LightSwitch Class

Extends MonoBehaviour

Properties

bool IsOn[Get]

Fields

const string TRAIT_ID[Get]
const string TRAIT_ON_VALUE[Get]

Member Functions

void OnResponse
( WitResponseNode commandResult )
void SetLight
( bool toOn )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon