mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-11 10:14:17 +00:00
okay nvm
This commit is contained in:
parent
b26832f65b
commit
eae2cf3c25
@ -72,7 +72,6 @@ internal class TimeSyncUI : MonoBehaviour, IAddComponentOnStart
|
|||||||
Canvas.willRenderCanvases += OnWillRenderCanvases;
|
Canvas.willRenderCanvases += OnWillRenderCanvases;
|
||||||
|
|
||||||
// silly hack that shouldnt be in the ui component but oh well
|
// 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.GetPlayerTransform().GetComponent<PlayerResources>()._invincible = true;
|
||||||
Locator.GetDeathManager()._invincible = true;
|
Locator.GetDeathManager()._invincible = true;
|
||||||
var shipTransform = Locator.GetShipTransform();
|
var shipTransform = Locator.GetShipTransform();
|
||||||
@ -90,7 +89,6 @@ internal class TimeSyncUI : MonoBehaviour, IAddComponentOnStart
|
|||||||
Canvas.willRenderCanvases -= OnWillRenderCanvases;
|
Canvas.willRenderCanvases -= OnWillRenderCanvases;
|
||||||
|
|
||||||
// silly hack that shouldnt be in the ui component but oh well
|
// 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.GetPlayerTransform().GetComponent<PlayerResources>()._invincible = false;
|
||||||
Locator.GetDeathManager()._invincible = false;
|
Locator.GetDeathManager()._invincible = false;
|
||||||
var shipTransform = Locator.GetShipTransform();
|
var shipTransform = Locator.GetShipTransform();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user