Browse Source

Scrolling almost fixed

master
lealeelu 8 years ago
parent
commit
f3d92b8574
  1. 1
      Assets/Fungus/Scripts/Components/NarrativeLogMenu.cs
  2. 54
      Assets/FungusExamples/Conversation/Say History.unity

1
Assets/Fungus/Scripts/Components/NarrativeLogMenu.cs

@ -126,7 +126,6 @@ namespace Fungus
{ {
if (narrativeLogView.enabled) if (narrativeLogView.enabled)
{ {
Debug.Log("Update NarrativeLog");
var historyText = narrativeLogView.GetComponentInChildren<Text>(); var historyText = narrativeLogView.GetComponentInChildren<Text>();
if (historyText != null) if (historyText != null)
{ {

54
Assets/FungusExamples/Conversation/Say History.unity

@ -1688,6 +1688,7 @@ GameObject:
- component: {fileID: 691674168} - component: {fileID: 691674168}
- component: {fileID: 691674167} - component: {fileID: 691674167}
- component: {fileID: 691674166} - component: {fileID: 691674166}
- component: {fileID: 691674169}
m_Layer: 5 m_Layer: 5
m_Name: Content m_Name: Content
m_TagString: Untagged m_TagString: Untagged
@ -1709,10 +1710,10 @@ RectTransform:
m_Father: {fileID: 1815104315} m_Father: {fileID: 1815104315}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 10, y: -0.000030517578}
m_SizeDelta: {x: 0, y: 302.53156} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 1} m_Pivot: {x: 0, y: 1}
--- !u!114 &691674166 --- !u!114 &691674166
MonoBehaviour: MonoBehaviour:
@ -1803,6 +1804,19 @@ CanvasRenderer:
type: 2} type: 2}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 691674164} m_GameObject: {fileID: 691674164}
--- !u!114 &691674169
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 691674164}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1741964061, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 2
m_VerticalFit: 2
--- !u!1 &734092205 --- !u!1 &734092205
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2033,7 +2047,7 @@ MonoBehaviour:
selectedBlocks: selectedBlocks:
- {fileID: 775007736} - {fileID: 775007736}
selectedCommands: selectedCommands:
- {fileID: 775007735} - {fileID: 775007749}
variables: [] variables: []
description: description:
stepPause: 0 stepPause: 0
@ -2335,7 +2349,29 @@ MonoBehaviour:
stringRef: {fileID: 0} stringRef: {fileID: 0}
stringVal: 'john: After Save 5! stringVal: 'john: After Save 5!
john: Hope everyone enjoyed my listing of saves!' Hope everyone enjoyed my listing of saves!
Putting
some
extra
space
here
to
test
scrolling
of
the
window.'
--- !u!1 &794363962 --- !u!1 &794363962
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -4342,7 +4378,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Navigation: m_Navigation:
m_Mode: 2 m_Mode: 3
m_SelectOnUp: {fileID: 0} m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0} m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0} m_SelectOnLeft: {fileID: 0}
@ -4369,8 +4405,8 @@ MonoBehaviour:
m_HandleRect: {fileID: 282981322} m_HandleRect: {fileID: 282981322}
m_Direction: 2 m_Direction: 2
m_Value: 1 m_Value: 1
m_Size: 1 m_Size: 0.6864908
m_NumberOfSteps: 0 m_NumberOfSteps: 5
m_OnValueChanged: m_OnValueChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []

Loading…
Cancel
Save