mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-28 12:40:28 +00:00
cleanup
This commit is contained in:
parent
5982de7e7d
commit
430e61a401
@ -1,10 +1,4 @@
|
||||
using QSB.Utility;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Audio
|
||||
{
|
||||
@ -12,7 +6,6 @@ namespace QSB.Audio
|
||||
{
|
||||
public static QSBPlayerAudioController InitRemote(Transform playerBody)
|
||||
{
|
||||
DebugLog.DebugWrite($"InitRemote {playerBody.name}");
|
||||
var REMOTE_Audio_Player = new GameObject("REMOTE_Audio_Player");
|
||||
REMOTE_Audio_Player.transform.parent = playerBody;
|
||||
REMOTE_Audio_Player.transform.localPosition = Vector3.zero;
|
||||
|
@ -1,11 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Audio
|
||||
namespace QSB.Audio
|
||||
{
|
||||
internal class QSBJetpackThrusterAudio : QSBThrusterAudio
|
||||
{
|
||||
|
@ -1,32 +1,14 @@
|
||||
using QSB.Utility;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Audio
|
||||
{
|
||||
public class QSBPlayerAudioController : MonoBehaviour
|
||||
{
|
||||
//public OWAudioSource _oneShotSource;
|
||||
public OWAudioSource _oneShotExternalSource;
|
||||
//public OWAudioSource _mapTrackSource;
|
||||
public OWAudioSource _repairToolSource;
|
||||
//public OWAudioSource _translatorSource;
|
||||
//public OWAudioSource _damageAudioSource;
|
||||
//public OWAudioSource _damageAudioSourceExternal;
|
||||
//public OWAudioSource _notificationAudio;
|
||||
//public OWAudioSource _fluidVolumeSource;
|
||||
//public OWAudioSource _forceVolumeAudio;
|
||||
//public OWAudioSource _oxygenLeakSource;
|
||||
//public OWAudioSource _recorderLoopSource;
|
||||
//public NomaiTextRevealAudioController[] _nomaiTextAudioControllers;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
DebugLog.DebugWrite($"START");
|
||||
_oneShotExternalSource = CreateBaseAudio(transform, "OneShotAudio_PlayerExternal", false, 0, 1, AudioType.None, OWAudioMixer.TrackName.Player_External, false);
|
||||
_repairToolSource = CreateBaseAudio(transform, "RepairToolAudio", true, 128, 0.5f, AudioType.None, OWAudioMixer.TrackName.Player_External, false);
|
||||
|
||||
@ -62,7 +44,6 @@ namespace QSB.Audio
|
||||
OWAudioMixer.TrackName track,
|
||||
bool randomize)
|
||||
{
|
||||
DebugLog.DebugWrite($"createBaseAudio {name}");
|
||||
var go = new GameObject(name);
|
||||
go.transform.parent = parent;
|
||||
go.transform.localPosition = Vector3.zero;
|
||||
|
@ -1,9 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.Audio
|
||||
{
|
||||
|
@ -11,8 +11,6 @@ namespace QSB.Tools.ProbeLauncherTool
|
||||
|
||||
public void RetrieveProbe(bool playEffects)
|
||||
{
|
||||
DebugLog.DebugWrite($"{Player.PlayerId} retrieveProbe");
|
||||
|
||||
if (Effects._owAudioSource == null)
|
||||
{
|
||||
Effects._owAudioSource = Player.AudioController._repairToolSource;
|
||||
@ -28,7 +26,6 @@ namespace QSB.Tools.ProbeLauncherTool
|
||||
|
||||
public void LaunchProbe()
|
||||
{
|
||||
DebugLog.DebugWrite($"{Player.PlayerId} launchProbe");
|
||||
PreLaunchProbeProxy.SetActive(false);
|
||||
|
||||
if (Effects._owAudioSource == null)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"debugMode": true,
|
||||
"drawLines": true,
|
||||
"drawLines": false,
|
||||
"showQuantumVisibilityObjects": false,
|
||||
"showQuantumDebugBoxes": false,
|
||||
"avoidTimeSync": false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user