void UpdateView() { b_record.gameObject.SetActive(RedCandleEveryPlayExtention.IsRecordingSupported() && !RedCandleEveryPlayExtention.IsRecording()); b_stop.gameObject.SetActive(RedCandleEveryPlayExtention.IsRecordingSupported() && RedCandleEveryPlayExtention.IsRecording()); b_share.gameObject.SetActive(RedCandleEveryPlayExtention.IsRecordingSupported() && !RedCandleEveryPlayExtention.IsRecording()); b_play.gameObject.SetActive(RedCandleEveryPlayExtention.IsRecordingSupported() && !RedCandleEveryPlayExtention.IsRecording()); }
public void Share() { RedCandleEveryPlayExtention.ShareLastRecordFile(); }
public void PlayLast() { RedCandleEveryPlayExtention.PlayLastRecord(); }
public void Stop() { RedCandleEveryPlayExtention.StopRecord(); }
public void Record() { RedCandleEveryPlayExtention.StartRecord(); }
public void ShareLastFile() { string result = RedCandleEveryPlayExtention.GetEveryPlayFile(); RedCandleEveryPlayExtention.shareFile(result); }
void Start() { RedCandleEveryPlayExtention.SetMicrophoneEnable(false); }