diff --git a/Assets/Scenes/Level1.unity b/Assets/Scenes/Level1.unity index 21cdde3..b42b9c3 100644 --- a/Assets/Scenes/Level1.unity +++ b/Assets/Scenes/Level1.unity @@ -511,9 +511,10 @@ GameObject: - component: {fileID: 1520931803} - component: {fileID: 1520931802} - component: {fileID: 1520931801} + - component: {fileID: 1520931805} m_Layer: 0 - m_Name: ExitDoor - m_TagString: Untagged + m_Name: NextLevel + m_TagString: NextLevelDoor m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 @@ -552,7 +553,7 @@ BoxCollider2D: m_IsTrigger: 1 m_UsedByEffector: 0 m_UsedByComposite: 0 - m_Offset: {x: 0.012527466, y: -0.25051188} + m_Offset: {x: 0, y: 0.5} m_SpriteTilingProperty: border: {x: 0, y: 0, z: 0, w: 0} pivot: {x: 0.5, y: 0.5} @@ -563,7 +564,7 @@ BoxCollider2D: adaptiveTiling: 0 m_AutoTiling: 0 serializedVersion: 2 - m_Size: {x: 0.3987732, y: 0.49897623} + m_Size: {x: 3, y: 3} m_EdgeRadius: 0 --- !u!212 &1520931803 SpriteRenderer: @@ -632,6 +633,18 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1520931805 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1520931800} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 05bb7b355d220a0489fc1f8adde910fe, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &1650507795 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/SetHelpText.cs b/Assets/Scripts/SetHelpText.cs index eabe6b5..efd1647 100644 --- a/Assets/Scripts/SetHelpText.cs +++ b/Assets/Scripts/SetHelpText.cs @@ -3,7 +3,6 @@ public class SetHelpText : MonoBehaviour { - private Coroutine writeTextActive; private void OnTriggerEnter2D(Collider2D other) { if (other.name == "Player")