Beispiel #1
0
 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());
 }
Beispiel #2
0
 public void Share()
 {
     RedCandleEveryPlayExtention.ShareLastRecordFile();
 }
Beispiel #3
0
 public void PlayLast()
 {
     RedCandleEveryPlayExtention.PlayLastRecord();
 }
Beispiel #4
0
 public void Stop()
 {
     RedCandleEveryPlayExtention.StopRecord();
 }
Beispiel #5
0
 public void Record()
 {
     RedCandleEveryPlayExtention.StartRecord();
 }
Beispiel #6
0
    public void ShareLastFile()
    {
        string result = RedCandleEveryPlayExtention.GetEveryPlayFile();

        RedCandleEveryPlayExtention.shareFile(result);
    }
Beispiel #7
0
 void Start()
 {
     RedCandleEveryPlayExtention.SetMicrophoneEnable(false);
 }