Fixed Scene Transitions
This commit is contained in:
@@ -16,6 +16,7 @@ namespace Fruitomation.Game
|
||||
{
|
||||
Image img = gameObject.AddComponent<Image>();
|
||||
img.color = Color.black;
|
||||
img.raycastTarget = true;
|
||||
|
||||
CanvasRect = canvas.GetComponent<RectTransform>();
|
||||
Rect = transform.GetComponent<RectTransform>();
|
||||
|
||||
Reference in New Issue
Block a user