Solution cleanup

This commit is contained in:
kafeijao 2023-04-26 18:45:24 +01:00
parent 344e3bb6d6
commit 62eb612d73
No known key found for this signature in database
GPG key ID: E99978723E454B4C
47 changed files with 988 additions and 1635 deletions

View file

@ -130,7 +130,7 @@ internal static class CameraLogic
}
else
{
Object.Destroy(ourCamComponent.GetComponent<AzureFogScattering>());
UnityEngine.Object.Destroy(ourCamComponent.GetComponent<AzureFogScattering>());
}
// Copy Beautify settings
@ -143,7 +143,7 @@ internal static class CameraLogic
}
else
{
Object.Destroy(ourCamComponent.gameObject.GetComponent<Beautify>());
UnityEngine.Object.Destroy(ourCamComponent.gameObject.GetComponent<Beautify>());
}
}
@ -181,4 +181,4 @@ internal static class CameraLogic
internal static void IncrementDist() { _dist += 0.25f; RelocateCam(CurrentLocation); }
internal static void DecrementDist() { _dist -= 0.25f; RelocateCam(CurrentLocation); }
internal static void AdjustScale(float height) { _scale = height; RelocateCam(CurrentLocation); }
}
}