diff --git a/Assets/Prefabs/UI/GameUI.prefab b/Assets/Prefabs/UI/GameUI.prefab index f9f49e2..7193038 100644 --- a/Assets/Prefabs/UI/GameUI.prefab +++ b/Assets/Prefabs/UI/GameUI.prefab @@ -2040,7 +2040,7 @@ SpriteRenderer: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 3636042489164766214} - m_Enabled: 1 + m_Enabled: 0 m_CastShadows: 0 m_ReceiveShadows: 0 m_DynamicOccludee: 1 diff --git a/Assets/Scripts/UI/StartSceneTransition.cs b/Assets/Scripts/UI/StartSceneTransition.cs index 5c3cec1..45ce278 100644 --- a/Assets/Scripts/UI/StartSceneTransition.cs +++ b/Assets/Scripts/UI/StartSceneTransition.cs @@ -2,9 +2,13 @@ using UnityEngine; public class StartSceneTransition : MonoBehaviour { + Animator animator; void Start() { + SpriteRenderer sp = GetComponent(); + sp.enabled = false; + animator = GetComponent(); animator.SetTrigger("start1"); }