Skip to content

Commit

Permalink
Updated [Space] to messages waiting
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertigo2720 committed May 7, 2019
1 parent 33593b6 commit ab48203
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Assets/Prefabs/DialogueIndicator.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,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: 500, y: -346}
m_SizeDelta: {x: 11.52, y: 22.9}
m_AnchoredPosition: {x: 441.6, y: -350.25}
m_SizeDelta: {x: 16.73, y: 22.9}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &642885148310559577
CanvasRenderer:
Expand Down Expand Up @@ -97,7 +97,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &4406595221449364226
RectTransform:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -213,8 +213,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: 598.6399, y: -349.55}
m_SizeDelta: {x: 168.25, y: 30}
m_AnchoredPosition: {x: 578, y: -353.8}
m_SizeDelta: {x: 244.37, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2442662606757703049
CanvasRenderer:
Expand Down Expand Up @@ -257,4 +257,4 @@ MonoBehaviour:
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Messages Waiting
m_Text: Messages Waiting [Space]
4 changes: 2 additions & 2 deletions Assets/Scripts/Dialogue/DialogueManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void Update()
//Make sure to have proper grammar
if(QueueCount == 1)
{
MessagesWaiting.text = "Message Waiting";
MessagesWaiting.text = "Message Waiting [Space]";
}
Debug.Log($"Indicator created, should show {NumMessages.text}");
if (!DialogueIndicator.activeInHierarchy)
Expand Down Expand Up @@ -97,7 +97,7 @@ public bool AddToQueue(Dialogue Dialogue, bool ResetDialogue = true)
{
if (QueueCount > 1)
{
MessagesWaiting.text = "Messages Waiting";
MessagesWaiting.text = "Messages Waiting [Space]";
}
NumMessages.text = QueueCount.ToString();
Debug.Log($"Updated, should show {NumMessages.text}");
Expand Down

0 comments on commit ab48203

Please sign in to comment.