public void CmdSetWatsonRotateCube(NetworkInstanceId objid, bool state) { GameObject obj = NetworkServer.objects [objid].gameObject; SpeechToTextToAudio stt = obj.GetComponent <SpeechToTextToAudio> (); stt.setRotating(state); }
void Start() { singleton = this; LogSystem.InstallDefaultReactors(); // To solve the Waston problem Config cfg = Config.Instance; // RequestPermissions (); // Active = true; }