private void Update() { if (Input.GetKeyDown(KeyCode.K)) { StartCoroutine(UploadPNG()); } if (SystemProperties.get("ids.screenshot", "0").Equals("1")) { StartCoroutine(UploadPNG()); SystemProperties.set("ids.screenshot", "0"); } }
public void SetPlayMode(bool isOpen) { #if SVR_USE_GAZE string type; if (isOpen) { type = "playloop"; } else { type = "list"; } playLoop = isOpen; SystemProperties.set("persist.svr.video_player_type", type); AnalizePlayMode(); #endif }