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

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