mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
move _remoteCameraPlatform caching to Start
This commit is contained in:
parent
8315bc3046
commit
2d5cceee07
@ -11,12 +11,14 @@
|
|||||||
{
|
{
|
||||||
base.Awake();
|
base.Awake();
|
||||||
_oldStreaming = GetComponent<NomaiRemoteCameraStreaming>();
|
_oldStreaming = GetComponent<NomaiRemoteCameraStreaming>();
|
||||||
_remoteCameraPlatform = _oldStreaming._remoteCameraPlatform.GetComponent<CustomNomaiRemoteCameraPlatform>();
|
|
||||||
SetSector(_oldStreaming.GetSector());
|
SetSector(_oldStreaming.GetSector());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
=> enabled = false;
|
{
|
||||||
|
_remoteCameraPlatform = _oldStreaming._remoteCameraPlatform.GetComponent<CustomNomaiRemoteCameraPlatform>();
|
||||||
|
enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
private void FixedUpdate()
|
private void FixedUpdate()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user