mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
todo
This commit is contained in:
parent
8609f5baf0
commit
b26832f65b
@ -72,6 +72,7 @@ internal class TimeSyncUI : MonoBehaviour, IAddComponentOnStart
|
||||
Canvas.willRenderCanvases += OnWillRenderCanvases;
|
||||
|
||||
// silly hack that shouldnt be in the ui component but oh well
|
||||
// TODO may have to wait a frame cuz Locator?
|
||||
Locator.GetPlayerTransform().GetComponent<PlayerResources>()._invincible = true;
|
||||
Locator.GetDeathManager()._invincible = true;
|
||||
var shipTransform = Locator.GetShipTransform();
|
||||
@ -89,6 +90,7 @@ internal class TimeSyncUI : MonoBehaviour, IAddComponentOnStart
|
||||
Canvas.willRenderCanvases -= OnWillRenderCanvases;
|
||||
|
||||
// silly hack that shouldnt be in the ui component but oh well
|
||||
// TODO may have to wait a frame cuz Locator?
|
||||
Locator.GetPlayerTransform().GetComponent<PlayerResources>()._invincible = false;
|
||||
Locator.GetDeathManager()._invincible = false;
|
||||
var shipTransform = Locator.GetShipTransform();
|
||||
|
Loading…
Reference in New Issue
Block a user