Modification du chat

- L'état haut se déclenche maintenant en détectant la fin d'une ligne
- la validation (pour l'instant toujours avec 'espace', n'est pris en compte que lorsque le chat a le focus.
- correction du bug du nombre de lettres restantes
-première tentative de chrono sur l'état timer (ne fonctionne pas...à

nb: penser à desactiver le chat lors de la validation!
This commit is contained in:
Romain Pellé 2015-01-07 00:54:59 +01:00
parent 0cd9aab9f5
commit 247c6df44b
6 changed files with 808 additions and 733 deletions

View File

@ -115,12 +115,12 @@ Transition:
m_Name:
m_SrcState: {fileID: 110200000}
m_DstState: {fileID: 110250990}
m_TransitionDuration: .576923072
m_TransitionOffset: 0
m_TransitionDuration: 0
m_TransitionOffset: .0142626585
m_Conditions:
- m_ConditionMode: 6
m_ConditionEvent: etat_chat
m_EventTreshold: 5
m_EventTreshold: 3
m_ExitTime: .423076928
m_Atomic: 1
m_Solo: 0

View File

@ -33,7 +33,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 7
value: -18
inSlope: 345.692322
outSlope: 345.692322
tangentMode: 21
@ -47,7 +47,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 72
value: 97
inSlope: -345.692322
outSlope: -345.692322
tangentMode: 10
@ -185,6 +185,128 @@ AnimationClip:
path: Image
classID: 114
script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -3.02497864
inSlope: -19.7144508
outSlope: -19.7144508
tangentMode: 10
- time: .233333334
value: -7.62501717
inSlope: -19.7144508
outSlope: -19.7144508
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -6.05000019
inSlope: -39.4285698
outSlope: -39.4285698
tangentMode: 10
- time: .233333334
value: -15.25
inSlope: -39.4285698
outSlope: -39.4285698
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -216
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 344
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 11
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -36
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -44
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.x
path: timer_text
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 41.9999695
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: timer_text
classID: 224
script: {fileID: 0}
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
@ -235,6 +357,18 @@ AnimationClip:
classID: 114
customType: 0
isPPtrCurve: 0
- path: 1213699786
attribute: 538195251
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 1213699786
attribute: 38095219
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 83635035
attribute: 38095219
script: {fileID: 0}
@ -253,6 +387,42 @@ AnimationClip:
classID: 224
customType: 0
isPPtrCurve: 0
- path: 678305014
attribute: 1460864421
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 678305014
attribute: 1967290853
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 4040567391
attribute: 538195251
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 4040567391
attribute: 38095219
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 2565742664
attribute: 1460864421
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 2565742664
attribute: 538195251
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
@ -261,7 +431,7 @@ AnimationClip:
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_LoopTime: 1
m_LoopTime: 0
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
@ -290,7 +460,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 7
value: -18
inSlope: 345.692322
outSlope: 345.692322
tangentMode: 21
@ -304,7 +474,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 72
value: 97
inSlope: -345.692322
outSlope: -345.692322
tangentMode: 10
@ -442,5 +612,127 @@ AnimationClip:
path: Image
classID: 114
script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -3.02497864
inSlope: -19.7144508
outSlope: -19.7144508
tangentMode: 10
- time: .233333334
value: -7.62501717
inSlope: -19.7144508
outSlope: -19.7144508
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -6.05000019
inSlope: -39.4285698
outSlope: -39.4285698
tangentMode: 10
- time: .233333334
value: -15.25
inSlope: -39.4285698
outSlope: -39.4285698
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -216
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 344
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 11
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -36
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -44
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.x
path: timer_text
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 41.9999695
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: timer_text
classID: 224
script: {fileID: 0}
m_EulerEditorCurves: []
m_Events: []

View File

@ -142,7 +142,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 7
value: -18
inSlope: 345.692322
outSlope: 345.692322
tangentMode: 21
@ -156,7 +156,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 72
value: 97
inSlope: -345.692322
outSlope: -345.692322
tangentMode: 10
@ -166,6 +166,90 @@ AnimationClip:
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -6.82502747
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -13.6499996
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -216
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 344
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 11
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -36
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 0
@ -228,6 +312,42 @@ AnimationClip:
classID: 224
customType: 0
isPPtrCurve: 0
- path: 1213699786
attribute: 538195251
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 1213699786
attribute: 38095219
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 678305014
attribute: 1460864421
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 678305014
attribute: 1967290853
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 4040567391
attribute: 538195251
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 4040567391
attribute: 38095219
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
@ -374,7 +494,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 7
value: -18
inSlope: 345.692322
outSlope: 345.692322
tangentMode: 21
@ -388,7 +508,7 @@ AnimationClip:
serializedVersion: 2
m_Curve:
- time: 0
value: 72
value: 97
inSlope: -345.692322
outSlope: -345.692322
tangentMode: 10
@ -398,5 +518,89 @@ AnimationClip:
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -6.82502747
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -13.6499996
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -216
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 344
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.x
path: "tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 11
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -36
inSlope: 0
outSlope: 0
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
m_EulerEditorCurves: []
m_Events: []

View File

@ -39,13 +39,13 @@ AnimationClip:
m_Curve:
- time: 0
value: -142.800003
inSlope: 345.692322
outSlope: 345.692322
inSlope: 288
outSlope: 288
tangentMode: 10
- time: .433333337
value: 7
inSlope: 345.692322
outSlope: 345.692322
value: -18
inSlope: 288
outSlope: 288
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
@ -58,13 +58,13 @@ AnimationClip:
m_Curve:
- time: 0
value: 221.800003
inSlope: -345.692322
outSlope: -345.692322
inSlope: -288
outSlope: -288
tangentMode: 10
- time: .433333337
value: 72
inSlope: -345.692322
outSlope: -345.692322
value: 97
inSlope: -288
outSlope: -288
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
@ -176,6 +176,82 @@ AnimationClip:
path: "Image/tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -1
inSlope: -13.6153355
outSlope: -13.6153355
tangentMode: 10
- time: .433333337
value: -6.89997864
inSlope: -13.6153355
outSlope: -13.6153355
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -18.2999992
inSlope: 10.384613
outSlope: 10.384613
tangentMode: 10
- time: .433333337
value: -13.8000002
inSlope: 10.384613
outSlope: 10.384613
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 76
inSlope: -150
outSlope: -150
tangentMode: 10
- time: .433333337
value: 11
inSlope: -150
outSlope: -150
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -165
inSlope: 297.692291
outSlope: 297.692291
tangentMode: 10
- time: .433333337
value: -36
inSlope: 297.692291
outSlope: 297.692291
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
m_PPtrCurves: []
m_SampleRate: 30
m_WrapMode: 0
@ -214,6 +290,30 @@ AnimationClip:
classID: 224
customType: 0
isPPtrCurve: 0
- path: 1213699786
attribute: 538195251
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 1213699786
attribute: 38095219
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 4040567391
attribute: 538195251
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 4040567391
attribute: 38095219
script: {fileID: 0}
classID: 224
customType: 0
isPPtrCurve: 0
- path: 678305014
attribute: 1460864421
script: {fileID: 0}
@ -281,13 +381,13 @@ AnimationClip:
m_Curve:
- time: 0
value: -142.800003
inSlope: 345.692322
outSlope: 345.692322
inSlope: 288
outSlope: 288
tangentMode: 10
- time: .433333337
value: 7
inSlope: 345.692322
outSlope: 345.692322
value: -18
inSlope: 288
outSlope: 288
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
@ -300,13 +400,13 @@ AnimationClip:
m_Curve:
- time: 0
value: 221.800003
inSlope: -345.692322
outSlope: -345.692322
inSlope: -288
outSlope: -288
tangentMode: 10
- time: .433333337
value: 72
inSlope: -345.692322
outSlope: -345.692322
value: 97
inSlope: -288
outSlope: -288
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
@ -418,5 +518,81 @@ AnimationClip:
path: "Image/tchat_entr\xE9e"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -1
inSlope: -13.6153355
outSlope: -13.6153355
tangentMode: 10
- time: .433333337
value: -6.89997864
inSlope: -13.6153355
outSlope: -13.6153355
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -18.2999992
inSlope: 10.384613
outSlope: 10.384613
tangentMode: 10
- time: .433333337
value: -13.8000002
inSlope: 10.384613
outSlope: 10.384613
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/chat_text"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: 76
inSlope: -150
outSlope: -150
tangentMode: 10
- time: .433333337
value: 11
inSlope: -150
outSlope: -150
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_AnchoredPosition.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- time: 0
value: -165
inSlope: 297.692291
outSlope: 297.692291
tangentMode: 10
- time: .433333337
value: -36
inSlope: 297.692291
outSlope: 297.692291
tangentMode: 10
m_PreInfinity: 2
m_PostInfinity: 2
attribute: m_SizeDelta.y
path: "tchat_entr\xE9e/Placeholder"
classID: 224
script: {fileID: 0}
m_EulerEditorCurves: []
m_Events: []

View File

@ -767,7 +767,7 @@ RectTransform:
m_RootOrder: 1
m_AnchorMin: {x: .5, y: .5}
m_AnchorMax: {x: .5, y: .5}
m_AnchoredPosition: {x: -215.899948, y: -142}
m_AnchoredPosition: {x: -216, y: -142}
m_SizeDelta: {x: 343.5, y: 221}
m_Pivot: {x: 0, y: 0}
--- !u!114 &52053180
@ -792,7 +792,7 @@ MonoBehaviour:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: .786764741, g: .531584859, b: .0752054304, a: 1}
m_PressedColor: {r: .926470578, g: 0, b: 0, a: 1}
m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
m_DisabledColor: {r: .0648248419, g: .252796382, b: .801470578, a: .501960814}
m_ColorMultiplier: 1
m_FadeDuration: .100000001
m_SpriteState:
@ -913,39 +913,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 55143256}
m_Mesh: {fileID: 4300458, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &55937067
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 55937068}
m_Layer: 5
m_Name: Sliding Area
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &55937068
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 55937067}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 62401266}
m_Father: {fileID: 613492119}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -20, y: -20}
m_Pivot: {x: .5, y: .5}
--- !u!1 &58917852
GameObject:
m_ObjectHideFlags: 0
@ -1125,67 +1092,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 60532251}
m_Mesh: {fileID: 4300542, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &62401265
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 62401266}
- 222: {fileID: 62401268}
- 114: {fileID: 62401267}
m_Layer: 5
m_Name: Handle
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &62401266
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 62401265}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 55937068}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 20, y: 20}
m_Pivot: {x: .5, y: .5}
--- !u!114 &62401267
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 62401265}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: .588}
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &62401268
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 62401265}
--- !u!1 &70236427
GameObject:
m_ObjectHideFlags: 0
@ -3279,7 +3185,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1981988301}
m_RootOrder: 4
m_RootOrder: 3
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@ -3370,87 +3276,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 238748023}
m_Mesh: {fileID: 4300454, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &239909836
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 239909837}
- 222: {fileID: 239909839}
- 114: {fileID: 239909838}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &239909837
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 239909836}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1560831723}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -206.5}
m_SizeDelta: {x: 0, y: 413}
m_Pivot: {x: .5, y: .5}
--- !u!114 &239909838
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 239909836}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: .1953125, g: .1953125, b: .1953125, a: 1}
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 0
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: 'Fanch > Ma tatan elle fait des flancs! Le caca des pigeons c''est caca,
faut pas manger
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia
deserunt mollit anim id est laborum.'
--- !u!222 &239909839
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 239909836}
--- !u!1 &240949891
GameObject:
m_ObjectHideFlags: 0
@ -7161,74 +6986,6 @@ Prefab:
m_RootGameObject: {fileID: 963618410}
m_IsPrefabParent: 0
m_IsExploded: 1
--- !u!1 &569737629
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 569737633}
- 222: {fileID: 569737632}
- 114: {fileID: 569737630}
m_Layer: 5
m_Name: ChatLog
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &569737630
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 569737629}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1367256648, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Content: {fileID: 239909837}
m_Horizontal: 0
m_Vertical: 1
m_MovementType: 1
m_Elasticity: .100000001
m_Inertia: 1
m_DecelerationRate: .135000005
m_ScrollSensitivity: 10
m_HorizontalScrollbar: {fileID: 0}
m_VerticalScrollbar: {fileID: 613492120}
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.ScrollRect+ScrollRectEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!222 &569737632
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 569737629}
--- !u!224 &569737633
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 569737629}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1560831723}
- {fileID: 613492119}
m_Father: {fileID: 1971934887}
m_RootOrder: 1
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 10}
m_SizeDelta: {x: 0, y: -20}
m_Pivot: {x: .5, y: .5}
--- !u!1 &576424242
GameObject:
m_ObjectHideFlags: 0
@ -7492,115 +7249,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 588866874}
m_Mesh: {fileID: 4300134, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &613492118
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 613492119}
- 222: {fileID: 613492122}
- 114: {fileID: 613492121}
- 114: {fileID: 613492120}
m_Layer: 5
m_Name: Scrollbar
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &613492119
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613492118}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 55937068}
m_Father: {fileID: 569737633}
m_RootOrder: 1
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -11, y: 0}
m_SizeDelta: {x: 20, y: 0}
m_Pivot: {x: .5, y: .5}
--- !u!114 &613492120
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613492118}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -2061169968, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: .501960814, g: .501960814, b: .501960814, a: .501960814}
m_HighlightedColor: {r: .501960814, g: .501960814, b: .501960814, a: .698039234}
m_PressedColor: {r: .345098048, g: .345098048, b: .345098048, a: .698039234}
m_DisabledColor: {r: .250980407, g: .250980407, b: .250980407, a: .501960814}
m_ColorMultiplier: 2
m_FadeDuration: .100000001
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 62401267}
m_HandleRect: {fileID: 62401266}
m_Direction: 2
m_Value: 1
m_Size: .511751831
m_NumberOfSteps: 0
m_OnValueChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.Scrollbar+ScrollEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &613492121
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613492118}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: .588}
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &613492122
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 613492118}
--- !u!1 &615085128
GameObject:
m_ObjectHideFlags: 0
@ -11966,7 +11614,7 @@ RectTransform:
m_Children:
- {fileID: 1585952703}
m_Father: {fileID: 1981988301}
m_RootOrder: 2
m_RootOrder: 1
m_AnchorMin: {x: .5, y: 0}
m_AnchorMax: {x: .5, y: 0}
m_AnchoredPosition: {x: 0, y: 36.5}
@ -12819,8 +12467,9 @@ RectTransform:
- {fileID: 52053179}
- {fileID: 1452464989}
- {fileID: 1904739803}
- {fileID: 1765856481}
m_Father: {fileID: 1981988301}
m_RootOrder: 5
m_RootOrder: 4
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
@ -12856,6 +12505,7 @@ MonoBehaviour:
machine: {fileID: 1108071682}
charac_nb: {fileID: 1452464990}
myfield: {fileID: 52053180}
timer: {fileID: 1765856482}
--- !u!1 &1115721615
GameObject:
m_ObjectHideFlags: 0
@ -13806,127 +13456,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1200267283}
m_Mesh: {fileID: 4300096, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &1200327000
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 1200327004}
- 222: {fileID: 1200327003}
- 114: {fileID: 1200327002}
- 114: {fileID: 1200327001}
m_Layer: 5
m_Name: ChatMessage
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1200327001
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1200327000}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 575553740, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: .501960814, g: .501960814, b: .501960814, a: .501960814}
m_HighlightedColor: {r: .501960814, g: .501960814, b: .501960814, a: .698039234}
m_PressedColor: {r: .345098048, g: .345098048, b: .345098048, a: .698039234}
m_DisabledColor: {r: .250980407, g: .250980407, b: .250980407, a: .501960814}
m_ColorMultiplier: 2
m_FadeDuration: .100000001
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1200327002}
m_TextComponent: {fileID: 1437572785}
m_Placeholder: {fileID: 0}
m_ContentType: 0
m_InputType: 0
m_KeyboardType: 0
m_LineType: 0
m_HideMobileInput: 0
m_CharacterValidation: 0
m_CharacterLimit: 0
m_EndEdit:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.InputField+SubmitEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
m_OnValueChange:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.InputField+OnChangeEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
m_SelectionColor: {r: .104999997, g: .630999982, b: .885999978, a: .300000012}
m_Text:
m_CaretBlinkRate: 1.70000005
--- !u!114 &1200327002
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1200327000}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: .588}
m_Sprite: {fileID: 10911, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &1200327003
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1200327000}
--- !u!224 &1200327004
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1200327000}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1437572786}
m_Father: {fileID: 1971934887}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: 10}
m_SizeDelta: {x: 0, y: 20}
m_Pivot: {x: .5, y: .5}
--- !u!1 &1207131165
GameObject:
m_ObjectHideFlags: 0
@ -14916,7 +14445,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1981988301}
m_RootOrder: 6
m_RootOrder: 5
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: -6.10351562e-05}
@ -16377,72 +15906,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1428530347}
m_Mesh: {fileID: 4300464, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &1437572784
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 1437572786}
- 222: {fileID: 1437572787}
- 114: {fileID: 1437572785}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1437572785
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1437572784}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: .195999995, g: .195999995, b: .195999995, a: 1}
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 14
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 0
m_RichText: 0
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text:
--- !u!224 &1437572786
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1437572784}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1200327004}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
--- !u!222 &1437572787
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1437572784}
--- !u!1 &1437703997
GameObject:
m_ObjectHideFlags: 0
@ -17279,8 +16742,8 @@ RectTransform:
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -.5}
m_SizeDelta: {x: -20, y: -13}
m_AnchoredPosition: {x: 0, y: 76}
m_SizeDelta: {x: -20, y: -165}
m_Pivot: {x: .5, y: .5}
--- !u!114 &1464389820
MonoBehaviour:
@ -18401,81 +17864,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1559543164}
m_Mesh: {fileID: 4300418, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &1560831722
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 1560831723}
- 222: {fileID: 1560831726}
- 114: {fileID: 1560831725}
- 114: {fileID: 1560831724}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1560831723
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1560831722}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 239909837}
m_Father: {fileID: 569737633}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -10, y: 0}
m_SizeDelta: {x: -30, y: -10}
m_Pivot: {x: .5, y: .5}
--- !u!114 &1560831724
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1560831722}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -1200242548, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_ShowMaskGraphic: 1
--- !u!114 &1560831725
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1560831722}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: .0117647061}
m_Sprite: {fileID: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &1560831726
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1560831722}
--- !u!1 &1577856902
GameObject:
m_ObjectHideFlags: 0
@ -20139,7 +19527,7 @@ RectTransform:
m_Children:
- {fileID: 1796539523}
m_Father: {fileID: 1981988301}
m_RootOrder: 1
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 60, y: -60}
@ -20721,6 +20109,72 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1741715083}
m_Mesh: {fileID: 4300370, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &1765856480
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 1765856481}
- 222: {fileID: 1765856483}
- 114: {fileID: 1765856482}
m_Layer: 5
m_Name: timer_text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1765856481
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1765856480}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1108071681}
m_RootOrder: 4
m_AnchorMin: {x: .5, y: .5}
m_AnchorMax: {x: .5, y: .5}
m_AnchoredPosition: {x: -39, y: -108}
m_SizeDelta: {x: 207, y: 30}
m_Pivot: {x: .5, y: .5}
--- !u!114 &1765856482
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1765856480}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: .1953125, g: .1953125, b: .1953125, a: 1}
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 25
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MaxSize: 40
m_Alignment: 1
m_RichText: 1
m_HorizontalOverflow: 0
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text:
--- !u!222 &1765856483
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1765856480}
--- !u!1 &1766377579
GameObject:
m_ObjectHideFlags: 0
@ -23389,7 +22843,7 @@ RectTransform:
- {fileID: 1933574583}
- {fileID: 142173469}
m_Father: {fileID: 1981988301}
m_RootOrder: 3
m_RootOrder: 2
m_AnchorMin: {x: 1, y: 0}
m_AnchorMax: {x: 1, y: 0}
m_AnchoredPosition: {x: 0, y: -6.10351562e-05}
@ -23480,69 +22934,6 @@ MeshFilter:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1964128145}
m_Mesh: {fileID: 4300544, guid: 027c250b9f20b1e49903b3b4c633cd9d, type: 3}
--- !u!1 &1971934886
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 1971934887}
- 222: {fileID: 1971934889}
- 114: {fileID: 1971934888}
m_Layer: 5
m_Name: Chat
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &1971934887
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1971934886}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1200327004}
- {fileID: 569737633}
m_Father: {fileID: 1981988301}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: .300000012, y: .699999988}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
--- !u!114 &1971934888
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1971934886}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: .39199999}
m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &1971934889
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1971934886}
--- !u!1 &1975670697
GameObject:
m_ObjectHideFlags: 0
@ -23724,7 +23115,6 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1971934887}
- {fileID: 1693405242}
- {fileID: 1036217563}
- {fileID: 1962735454}

View File

@ -8,31 +8,30 @@ public class tchat_anim : MonoBehaviour {
public Animator machine;
public Text charac_nb;
public InputField myfield;
public Text timer;
float timer_sec;
int max_timer;
// Use this for initialization
void Start () {
timer_sec = 0;
max_timer = 15;
}
void Awake(){
print ("looool");
}
public void MessageValidation (string message){
print ("loool");
}
// Update is called once per frame
void Update () {
print (machine.GetInteger("etat_chat"));
//transition vers chat_up
if (chat.text.Length > 20 && machine.GetInteger("etat_chat")==0) {
if (myfield.textComponent.cachedTextGenerator.lineCount > 1 && machine.GetInteger("etat_chat")==0) {
print ("trop long");
machine.SetInteger ("etat_chat", 1);
charac_nb.text = " ";
@ -48,11 +47,11 @@ public class tchat_anim : MonoBehaviour {
//affichage nombre de caractère restant.
if(Input.anyKey && machine.GetInteger("etat_chat")==2 ){
charac_nb.text = (myfield.characterLimit - chat.text.Length).ToString();
charac_nb.text = (myfield.characterLimit - myfield.text.Length).ToString();
}
//En cas de validation du message
if(Input.GetKeyDown("space")){
if(Input.GetKeyDown("space") && myfield.isFocused){
myfield.text="";
charac_nb.text="";
@ -63,19 +62,33 @@ public class tchat_anim : MonoBehaviour {
machine.SetInteger ("etat_chat", 3);
}
//texte court
if(machine.GetInteger("etat_chat")==0){
machine.SetInteger("etat_chat",5);
machine.SetInteger("etat_chat",3);
}
}
//a voir avec des trigger...
if (machine.GetInteger ("etat_chat") == 3) {
timer_sec += Time.deltaTime;
timer.text = (max_timer - timer_sec ).ToString();
if(timer_sec == 14){
timer_sec=0;
timer.text="";
}
}
//on vérifie qu'on est toujours dans chat_down pour un texte court (transition timer->chat_down)
if (chat.text.Length < 20 && chat.text.Length > 0) {
machine.SetInteger ("etat_chat", 0);
}
}
}