From fe80dc2a0f864cf8a046e51cf3b9866bf77ae4ad Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 28 Apr 2019 15:37:37 +0200 Subject: [PATCH] Update gamecontroller prefab --- Assets/Prefabs/GameController.prefab | 38 +++++++--------------------- Assets/Scenes/Steffo.unity | 37 ++++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 30 deletions(-) diff --git a/Assets/Prefabs/GameController.prefab b/Assets/Prefabs/GameController.prefab index 0ba0dce..7d30b1c 100644 --- a/Assets/Prefabs/GameController.prefab +++ b/Assets/Prefabs/GameController.prefab @@ -143,7 +143,6 @@ GameObject: m_Component: - component: {fileID: 1816923098} - component: {fileID: 1816923100} - - component: {fileID: 1816923099} m_Layer: 0 m_Name: EventSystem m_TagString: EventSystem @@ -180,25 +179,6 @@ MonoBehaviour: m_FirstSelected: {fileID: 0} m_sendNavigationEvents: 1 m_DragThreshold: 10 ---- !u!114 &1816923099 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1816923097} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalAxis: Horizontal - m_VerticalAxis: Vertical - m_SubmitButton: Submit - m_CancelButton: Cancel - m_InputActionsPerSecond: 10 - m_RepeatDelay: 0.5 - m_ForceModuleActive: 0 --- !u!1 &1792584738874209504 GameObject: m_ObjectHideFlags: 0 @@ -385,11 +365,11 @@ MonoBehaviour: m_MaxSize: 40 m_Alignment: 1 m_AlignByGeometry: 0 - m_RichText: 1 + m_RichText: 0 m_HorizontalOverflow: 0 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: PICKED UP 1000G. + m_Text: Hello! I'm THE MESSAGE BAR! --- !u!114 &6763073704789207260 MonoBehaviour: m_ObjectHideFlags: 0 @@ -436,11 +416,11 @@ RectTransform: m_Father: {fileID: 1591973061} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0, y: 0} + m_Pivot: {x: 1, y: 0} --- !u!222 &5318808085005978312 CanvasRenderer: m_ObjectHideFlags: 0 @@ -475,7 +455,7 @@ MonoBehaviour: m_FillCenter: 1 m_FillMethod: 2 m_FillAmount: 1 - m_FillClockwise: 0 + m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 --- !u!114 &5816643265615328278 @@ -523,11 +503,11 @@ RectTransform: m_Father: {fileID: 1591973061} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 100, y: 100} - m_Pivot: {x: 0, y: 0} + m_Pivot: {x: 1, y: 0} --- !u!222 &8182065397885380582 CanvasRenderer: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/Steffo.unity b/Assets/Scenes/Steffo.unity index 04255fb..3a74977 100644 --- a/Assets/Scenes/Steffo.unity +++ b/Assets/Scenes/Steffo.unity @@ -187,10 +187,45 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: 8182065397885380581, guid: 4c25f33cb89f6624db48fc49d353a7f2, + type: 3} + propertyPath: m_AnchorMin.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8182065397885380581, guid: 4c25f33cb89f6624db48fc49d353a7f2, + type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8182065397885380581, guid: 4c25f33cb89f6624db48fc49d353a7f2, + type: 3} + propertyPath: m_Pivot.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1331449797751746845, guid: 4c25f33cb89f6624db48fc49d353a7f2, + type: 3} + propertyPath: m_AnchorMin.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1331449797751746845, guid: 4c25f33cb89f6624db48fc49d353a7f2, + type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1331449797751746845, guid: 4c25f33cb89f6624db48fc49d353a7f2, + type: 3} + propertyPath: m_Pivot.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 6406203509107481990, guid: 4c25f33cb89f6624db48fc49d353a7f2, + type: 3} + propertyPath: m_FillClockwise + value: 1 + objectReference: {fileID: 0} - target: {fileID: 6763073704789207266, guid: 4c25f33cb89f6624db48fc49d353a7f2, type: 3} propertyPath: m_Text - value: Text goes here. + value: Hello! I'm THE MESSAGE BAR! objectReference: {fileID: 0} - target: {fileID: 6763073704789207266, guid: 4c25f33cb89f6624db48fc49d353a7f2, type: 3}