Exemple #1
0
 private void UpdateSettings()
 {
     if (!Application.isPlaying)
     {
         return;
     }
     this.settings = new USpeakSettingsData()
     {
         bandMode = this.BandwidthMode,
         Codec = this.Codec
     };
     this.audioHandler.USpeakInitializeSettings((int)this.settings.ToByte());
 }
Exemple #2
0
 public void InitializeSettings(int data)
 {
     MonoBehaviour.print("Settings changed");
     this.settings = new USpeakSettingsData((byte)data);
     this.Codec = this.settings.Codec;
 }