mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-10 21:40:19 +00:00
reordered the removings
This commit is contained in:
parent
bcf552d259
commit
c0e1ad12a7
@ -49,13 +49,13 @@ namespace QSB.Tools
|
|||||||
Object.Destroy(newProbe.GetComponent<ProbeAnchor>());
|
Object.Destroy(newProbe.GetComponent<ProbeAnchor>());
|
||||||
Object.Destroy(newProbe.GetComponent<AlignWithFluid>());
|
Object.Destroy(newProbe.GetComponent<AlignWithFluid>());
|
||||||
Object.Destroy(newProbe.GetComponent<MapMarker>());
|
Object.Destroy(newProbe.GetComponent<MapMarker>());
|
||||||
|
Object.Destroy(newProbe.GetComponent<ProbeSeeking>());
|
||||||
Object.Destroy(newProbe.GetComponent<SurveyorProbe>());
|
Object.Destroy(newProbe.GetComponent<SurveyorProbe>());
|
||||||
Object.Destroy(newProbe.GetComponent<ProbeHUDMarker>());
|
Object.Destroy(newProbe.GetComponent<ProbeHUDMarker>());
|
||||||
Object.Destroy(newProbe.GetComponent<ProbeSeeking>());
|
|
||||||
Object.Destroy(newProbe.GetComponent<LightFlickerController>());
|
Object.Destroy(newProbe.GetComponent<LightFlickerController>());
|
||||||
|
|
||||||
// ProbeDetector
|
// ProbeDetector
|
||||||
Object.Destroy(newProbe.Find("ProbeDetector"));
|
Object.Destroy(newProbe.Find("ProbeDetector").gameObject);
|
||||||
|
|
||||||
// CameraPivot
|
// CameraPivot
|
||||||
var cameraPivot = newProbe.Find("CameraPivot");
|
var cameraPivot = newProbe.Find("CameraPivot");
|
||||||
@ -65,30 +65,30 @@ namespace QSB.Tools
|
|||||||
|
|
||||||
// CameraPivot/Geometry/Props_HEA_Probe_ANIM
|
// CameraPivot/Geometry/Props_HEA_Probe_ANIM
|
||||||
var animRoot = cameraPivot.Find("Geometry").Find("Props_HEA_Probe_ANIM");
|
var animRoot = cameraPivot.Find("Geometry").Find("Props_HEA_Probe_ANIM");
|
||||||
Object.Destroy(animRoot.GetComponent<Animator>());
|
|
||||||
Object.Destroy(animRoot.GetComponent<ProbeAnimatorController>());
|
Object.Destroy(animRoot.GetComponent<ProbeAnimatorController>());
|
||||||
|
Object.Destroy(animRoot.GetComponent<Animator>());
|
||||||
|
|
||||||
// TODO : Set up QSB cameras for these two cameras - that's why im not just destroying the GOs here
|
// TODO : Set up QSB cameras for these two cameras - that's why im not just destroying the GOs here
|
||||||
|
|
||||||
// CameraPivot/ForwardCamera
|
// CameraPivot/ForwardCamera
|
||||||
var forwardCamera = cameraPivot.Find("ForwardCamera");
|
var forwardCamera = cameraPivot.Find("ForwardCamera");
|
||||||
Object.Destroy(forwardCamera.GetComponent<Camera>());
|
|
||||||
Object.Destroy(forwardCamera.GetComponent<OWCamera>());
|
|
||||||
Object.Destroy(forwardCamera.GetComponent<ProbeCamera>());
|
|
||||||
Object.Destroy(forwardCamera.GetComponent<PlanetaryFogImageEffect>());
|
Object.Destroy(forwardCamera.GetComponent<PlanetaryFogImageEffect>());
|
||||||
|
Object.Destroy(forwardCamera.GetComponent<ProbeCamera>());
|
||||||
|
Object.Destroy(forwardCamera.GetComponent<OWCamera>());
|
||||||
|
Object.Destroy(forwardCamera.GetComponent<Camera>());
|
||||||
Object.Destroy(forwardCamera.GetComponent<PostProcessingBehaviour>());
|
Object.Destroy(forwardCamera.GetComponent<PostProcessingBehaviour>());
|
||||||
Object.Destroy(forwardCamera.GetComponent<NoiseImageEffect>());
|
Object.Destroy(forwardCamera.GetComponent<NoiseImageEffect>());
|
||||||
|
|
||||||
// CameraPivot/RotatingCameraPivot/RotatingCamera
|
// CameraPivot/RotatingCameraPivot/RotatingCamera
|
||||||
var rotatingCamera = cameraPivot.Find("RotatingCameraPivot").Find("RotatingCamera");
|
var rotatingCamera = cameraPivot.Find("RotatingCameraPivot").Find("RotatingCamera");
|
||||||
Object.Destroy(rotatingCamera.GetComponent<Camera>());
|
|
||||||
Object.Destroy(rotatingCamera.GetComponent<OWCamera>());
|
|
||||||
Object.Destroy(rotatingCamera.GetComponent<ProbeCamera>());
|
|
||||||
Object.Destroy(rotatingCamera.GetComponent<PlanetaryFogImageEffect>());
|
Object.Destroy(rotatingCamera.GetComponent<PlanetaryFogImageEffect>());
|
||||||
|
Object.Destroy(rotatingCamera.GetComponent<ProbeCamera>());
|
||||||
|
Object.Destroy(rotatingCamera.GetComponent<OWCamera>());
|
||||||
|
Object.Destroy(rotatingCamera.GetComponent<Camera>());
|
||||||
Object.Destroy(rotatingCamera.GetComponent<PostProcessingBehaviour>());
|
Object.Destroy(rotatingCamera.GetComponent<PostProcessingBehaviour>());
|
||||||
Object.Destroy(rotatingCamera.GetComponent<NoiseImageEffect>());
|
Object.Destroy(rotatingCamera.GetComponent<NoiseImageEffect>());
|
||||||
|
|
||||||
Object.Destroy(newProbe.Find("PlaneOffsetMarker_Probe"));
|
Object.Destroy(newProbe.Find("PlaneOffsetMarker_Probe").gameObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void CreateStowTransforms(Transform cameraBody)
|
private static void CreateStowTransforms(Transform cameraBody)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user