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