diff --git a/Assets/Scenes/TitleScene.unity b/Assets/Scenes/TitleScene.unity index a3b6a28..c3f4108 100644 --- a/Assets/Scenes/TitleScene.unity +++ b/Assets/Scenes/TitleScene.unity @@ -278,8 +278,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 122} - m_SizeDelta: {x: 800, y: 200} + m_AnchoredPosition: {x: 0, y: 143.6} + m_SizeDelta: {x: 800, y: 243.3} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &863866092 MonoBehaviour: @@ -293,7 +293,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_Color: {r: 0, g: 0, b: 0, a: 1} m_RaycastTarget: 1 m_OnCullStateChanged: m_PersistentCalls: @@ -313,7 +313,7 @@ MonoBehaviour: m_HorizontalOverflow: 1 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: Dungeon Drifter + m_Text: "Double D.: \nDungeon Drifter" --- !u!222 &863866093 CanvasRenderer: m_ObjectHideFlags: 0 @@ -624,7 +624,9 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 4f52f2b666c1ec64195aad9936df2d4f, type: 3} m_Name: m_EditorClassIdentifier: + notifications: {fileID: 0} gameOverPanel: {fileID: 0} + healthcontroller: {fileID: 0} --- !u!1 &1586619316 GameObject: m_ObjectHideFlags: 0 @@ -957,4 +959,6 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 4f52f2b666c1ec64195aad9936df2d4f, type: 3} m_Name: m_EditorClassIdentifier: + notifications: {fileID: 0} gameOverPanel: {fileID: 0} + healthcontroller: {fileID: 0} diff --git a/Assets/Scripts/CameraControl.cs b/Assets/Scripts/CameraControl.cs index 90b3b8c..811ec68 100644 --- a/Assets/Scripts/CameraControl.cs +++ b/Assets/Scripts/CameraControl.cs @@ -18,7 +18,7 @@ public class CameraControl : MonoBehaviour { void LateUpdate() { if ( followThis == null ) return; - var target = followThis.transform.position + offset; + var target = followThis.transform.position; // + offset; var targetVec = target - transform.position; targetVec.Scale(new Vector3(0.05f, 0.05f, 0));