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