Land Explorer in HomeCamp with boot loading, journal UI, and CDN publish tooling.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -43,6 +43,7 @@ namespace HotUpdate.UI
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
if (_stage != null) _stage.SetActive(true);
|
||||
_image = GetComponent<RawImage>();
|
||||
if (_image != null) _image.enabled = _camera != null;
|
||||
if (_camera != null) _camera.enabled = true;
|
||||
@@ -52,6 +53,7 @@ namespace HotUpdate.UI
|
||||
void OnDisable()
|
||||
{
|
||||
if (_camera != null) _camera.enabled = false;
|
||||
if (_stage != null) _stage.SetActive(false);
|
||||
if (_image != null) _image.enabled = false;
|
||||
if (_bubble != null) _bubble.gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user