Code cleanup. (2)

This commit is contained in:
2022-10-31 17:28:30 +08:00
parent 64ab3b001b
commit 39500e0d12

View File

@@ -92,9 +92,6 @@ namespace Cryville.Crtr {
status = GameObject.Find("Status").GetComponent<Text>(); status = GameObject.Find("Status").GetComponent<Text>();
texHandler = new DownloadHandlerTexture(); texHandler = new DownloadHandlerTexture();
Game.NetworkTaskWorker.SuspendBackgroundTasks();
#if BUILD #if BUILD
Play(); Play();
#endif #endif
@@ -306,7 +303,7 @@ namespace Cryville.Crtr {
#if !NO_THREAD #if !NO_THREAD
texloaddone = false; texloaddone = false;
#endif #endif
Game.NetworkTaskWorker.SuspendBackgroundTasks();
Game.AudioSession = Game.AudioSequencer.NewSession(); Game.AudioSession = Game.AudioSequencer.NewSession();
var hitPlane = new Plane(Vector3.forward, Vector3.zero); var hitPlane = new Plane(Vector3.forward, Vector3.zero);