Example #1
0
 private void Awake()
 {
     if (!Application.isPlaying)
     {
         return;
     }
     AudioConst.IsForbidden             = isForbiden;
     AudioConst.AudioLoadTypeWhenStarup = audioLoadTypeWhenStarup;
     AudioCustomizeSettings.SetCreatePacker(usePicker);
     AudioCustomizeSettings.DeveloperWwiseInstallationPath = wiseInstallationPath;
     AudioCustomizeSettings.DeveloperWwiseProjectPath      = wiseProjectPath;
 }
 private void OnGUIVary()
 {
     if (s_usePicker != targetComponent.usePicker)
     {
         AudioCustomizeSettings.SetCreatePacker(targetComponent.usePicker);
     }
     if (s_wiseInstallPath != targetComponent.wiseInstallationPath)
     {
         AudioCustomizeSettings.DeveloperWwiseInstallationPath = targetComponent.wiseInstallationPath;
     }
     if (s_wiseProjectPath != targetComponent.wiseProjectPath)
     {
         AudioCustomizeSettings.DeveloperWwiseProjectPath = targetComponent.wiseProjectPath;
     }
 }