AZDOPIJQOSID

This commit is contained in:
Your Name 2018-03-16 03:01:14 +01:00
parent efcb45d5ca
commit f833b00a5a
7 changed files with 679 additions and 44 deletions

View File

@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: 76087783dd84b37478e6ad0446da7f2c
folderAsset: yes
timeCreated: 1520975305
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -232,6 +232,23 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1611160567533310
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 5
m_Component:
- component: {fileID: 224595465158378368}
- component: {fileID: 222525534167044850}
- component: {fileID: 114822271279836470}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &1641840776717100
GameObject:
m_ObjectHideFlags: 0
@ -724,6 +741,39 @@ MonoBehaviour:
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &114822271279836470
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1611160567533310}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.92156863, g: 0.91764706, b: 0.7019608, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 12800000, guid: 857994faf68a63649be5bf623197af2e, type: 3}
m_FontSize: 110
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 5
m_MaxSize: 117
m_Alignment: 1
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 1
m_VerticalOverflow: 1
m_LineSpacing: 1
m_Text: New Text
--- !u!114 &114972197278671418
MonoBehaviour:
m_ObjectHideFlags: 1
@ -736,7 +786,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.3019608, g: 0.3019608, b: 0.3019608, a: 1}
m_Color: {r: 0.92156863, g: 0.91764706, b: 0.7019608, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
@ -744,7 +794,7 @@ MonoBehaviour:
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 12800000, guid: 8a697d283fb701b4a9a210c0e58f6a5e, type: 3}
m_Font: {fileID: 12800000, guid: f3cc233754f69f94d80d1a3621c0cc8c, type: 3}
m_FontSize: 72
m_FontStyle: 0
m_BestFit: 0
@ -817,6 +867,12 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1528636508113776}
--- !u!222 &222525534167044850
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1611160567533310}
--- !u!222 &222647551207552416
CanvasRenderer:
m_ObjectHideFlags: 1
@ -931,20 +987,21 @@ RectTransform:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1609800232575352}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
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: 224689884643480978}
- {fileID: 224236299015522826}
- {fileID: 224894876446863380}
- {fileID: 224595465158378368}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_SizeDelta: {x: 1600, y: 900}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224224736406707402
RectTransform:
@ -1006,6 +1063,24 @@ RectTransform:
m_AnchoredPosition: {x: 200, y: 85}
m_SizeDelta: {x: 600, y: 28}
m_Pivot: {x: 0, y: 0}
--- !u!224 &224595465158378368
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1611160567533310}
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: 224214273580608432}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 1, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!224 &224602780578558858
RectTransform:
m_ObjectHideFlags: 1

View File

@ -113,6 +113,308 @@ NavMeshSettings:
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1001 &35645296
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1678910202}
m_Modifications:
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_SizeDelta.x
value: 1600
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_SizeDelta.y
value: 900
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224236299015522826, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224595465158378368, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 224689884643480978, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224894876446863380, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 1609800232575352, guid: ff612e4aca9ee264abcb6222d1827faa, type: 2}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: ff612e4aca9ee264abcb6222d1827faa, type: 2}
m_IsPrefabParent: 0
--- !u!224 &35645297 stripped
RectTransform:
m_PrefabParentObject: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
--- !u!114 &35645298 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114756486190383686, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!114 &35645299 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114256727022629196, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!224 &35645300 stripped
RectTransform:
m_PrefabParentObject: {fileID: 224791385292273442, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
--- !u!114 &35645301 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114465812376368334, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!114 &35645302 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114753404712596050, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!114 &35645303 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114972197278671418, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!1 &35645304 stripped
GameObject:
m_PrefabParentObject: {fileID: 1554730953879510, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
--- !u!1 &35645305 stripped
GameObject:
m_PrefabParentObject: {fileID: 1140287688807026, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
--- !u!224 &35645306 stripped
RectTransform:
m_PrefabParentObject: {fileID: 224224736406707402, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
--- !u!114 &35645307 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114017891035545538, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!114 &35645308 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114633276609635800, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 35645296}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!1001 &46136831
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 423588901}
m_Modifications:
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: ff612e4aca9ee264abcb6222d1827faa, type: 2}
m_IsPrefabParent: 0
--- !u!224 &46136832 stripped
RectTransform:
m_PrefabParentObject: {fileID: 224214273580608432, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 46136831}
--- !u!114 &46136836 stripped
MonoBehaviour:
m_PrefabParentObject: {fileID: 114972197278671418, guid: ff612e4aca9ee264abcb6222d1827faa,
type: 2}
m_PrefabInternal: {fileID: 46136831}
m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
--- !u!224 &90215398
RectTransform:
m_ObjectHideFlags: 0
@ -135,6 +437,75 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 300, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &174719443
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 174719444}
- component: {fileID: 174719445}
m_Layer: 0
m_Name: HUD new
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &174719444
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 174719443}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 802.0076, y: 411.5933, z: 22.334593}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1823713983}
- {fileID: 1678910202}
- {fileID: 423588901}
m_Father: {fileID: 0}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &174719445
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 174719443}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 30400d87b462847298c93b5dc0412288, type: 3}
m_Name:
m_EditorClassIdentifier:
flags:
- {fileID: 35645305}
- {fileID: 35645304}
highScores:
- {fileID: 1714708925}
- {fileID: 1010512803}
chronos:
- {fileID: 35645303}
- {fileID: 46136836}
firsts:
- {fileID: 0}
- {fileID: 0}
tachometers:
- {fileID: 35645302}
- {fileID: 35645308}
maxSpeeds:
- {fileID: 35645301}
- {fileID: 35645307}
progressions:
- {fileID: 35645300}
- {fileID: 35645306}
distances:
- {fileID: 35645299}
- {fileID: 35645298}
_messages: []
loadingScreens: {fileID: 1823713982}
--- !u!1 &333802245 stripped
GameObject:
m_PrefabParentObject: {fileID: 1051963178499332, guid: d5df03a0612222947a30c5be4549acdb,
@ -427,6 +798,100 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &423588900
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 423588901}
- component: {fileID: 423588904}
- component: {fileID: 423588903}
- component: {fileID: 423588902}
m_Layer: 0
m_Name: HUD P2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &423588901
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 423588900}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 46136832}
m_Father: {fileID: 174719444}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!114 &423588902
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 423588900}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &423588903
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 423588900}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!223 &423588904
Canvas:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 423588900}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 1
--- !u!1 &465584223
GameObject:
m_ObjectHideFlags: 0
@ -441,7 +906,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &465584224
Transform:
m_ObjectHideFlags: 0
@ -459,7 +924,7 @@ Transform:
- {fileID: 896084742}
- {fileID: 1515287607}
m_Father: {fileID: 1051925803}
m_RootOrder: 1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &471277891
GameObject:
@ -2563,6 +3028,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
playerID: 0
maxTimeDlt: 1
finished: 0
--- !u!1 &1051925801
GameObject:
m_ObjectHideFlags: 0
@ -2585,11 +3051,12 @@ MonoBehaviour:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1051925801}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 30400d87b462847298c93b5dc0412288, type: 3}
m_Name:
m_EditorClassIdentifier:
flags: []
highScores:
- {fileID: 1714708925}
- {fileID: 0}
@ -2606,7 +3073,7 @@ MonoBehaviour:
- {fileID: 1810492796}
- {fileID: 0}
progressions:
- {fileID: 896084743}
- {fileID: 0}
- {fileID: 0}
distances:
- {fileID: 958716517}
@ -2615,9 +3082,6 @@ MonoBehaviour:
- {fileID: 1515287606}
- {fileID: 0}
loadingScreens: {fileID: 1823713982}
maxSpeedsValues:
- 0
- 0
--- !u!4 &1051925803
Transform:
m_ObjectHideFlags: 0
@ -2628,7 +3092,6 @@ Transform:
m_LocalPosition: {x: 17.8, y: 0, z: -10}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1823713983}
- {fileID: 465584224}
m_Father: {fileID: 0}
m_RootOrder: 2
@ -4156,8 +4619,8 @@ RectTransform:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1416163763}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -22.1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1805432776}
@ -4580,6 +5043,100 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1639943194}
--- !u!1 &1678910201
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1678910202}
- component: {fileID: 1678910205}
- component: {fileID: 1678910204}
- component: {fileID: 1678910203}
m_Layer: 5
m_Name: HUD P1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1678910202
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1678910201}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 35645297}
m_Father: {fileID: 174719444}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0, y: 0}
--- !u!114 &1678910203
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1678910201}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreReversedGraphics: 1
m_BlockingObjects: 0
m_BlockingMask:
serializedVersion: 2
m_Bits: 4294967295
--- !u!114 &1678910204
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1678910201}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_UiScaleMode: 0
m_ReferencePixelsPerUnit: 100
m_ScaleFactor: 1
m_ReferenceResolution: {x: 800, y: 600}
m_ScreenMatchMode: 0
m_MatchWidthOrHeight: 0
m_PhysicalUnit: 3
m_FallbackScreenDPI: 96
m_DefaultSpriteDPI: 96
m_DynamicPixelsPerUnit: 1
--- !u!223 &1678910205
Canvas:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1678910201}
m_Enabled: 1
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
m_PlaneDistance: 100
m_PixelPerfect: 0
m_ReceivesEvents: 1
m_OverrideSorting: 0
m_OverridePixelPerfect: 0
m_SortingBucketNormalizedSize: 0
m_AdditionalShaderChannelsFlag: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_TargetDisplay: 0
--- !u!1 &1709902428
GameObject:
m_ObjectHideFlags: 0
@ -4789,6 +5346,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
playerID: 1
maxTimeDlt: 1
finished: 0
--- !u!114 &1718131635
MonoBehaviour:
m_ObjectHideFlags: 0
@ -4877,7 +5435,7 @@ RectTransform:
m_Children:
- {fileID: 1416163764}
m_Father: {fileID: 1823713983}
m_RootOrder: 0
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
@ -5110,12 +5668,12 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1823713982}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: -784.20764, y: -411.5933, z: -32.334595}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1805432776}
- {fileID: 2122916359}
m_Father: {fileID: 1051925803}
- {fileID: 1805432776}
m_Father: {fileID: 174719444}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1833852792
@ -5857,20 +6415,20 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &2122916359
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 2122916358}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0, y: 0, z: 0}
m_Children:
- {fileID: 1323907107}
m_Father: {fileID: 1823713983}
m_RootOrder: 1
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}

View File

@ -110,7 +110,7 @@ public class BikeManager : MonoBehaviour {
// }
public float GetProgress() {
return taco.GetDistanceRun() / distanceToRun;
return taco.GetDistanceRun() / distanceToRun > 1f ? 1f: taco.GetDistanceRun() / distanceToRun;
}
public float GetDistance() {

View File

@ -93,6 +93,7 @@ public class GameManager : MonoBehaviour
_status = States.Menu;
SceneManager.LoadScene ("Menus");
// TODO: Load Menu
foreach(var j in Input.GetJoystickNames()) Debug.Log(j);
}

View File

@ -6,12 +6,14 @@ using System;
public class HUDManager : MonoBehaviour {
public GameObject[] flags;
public GameObject[] highScores;
public Text[] chronos;
public Text[] firsts;
public Text[] tachometers;
public Text[] maxSpeeds;
public HUDProgress[] progressions;
//public HUDProgress[] progressions;
public Transform[] progressions;
public Text[] distances;
[SerializeField]
private GameObject[] _messages;
@ -19,7 +21,7 @@ public class HUDManager : MonoBehaviour {
public GameObject loadingScreens;
public float[] maxSpeedsValues = new float[2];
private float[] maxSpeedsValues = new float[2];
GameManager gm;
@ -31,20 +33,27 @@ public class HUDManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
UpdateSpeeds(0);
UpdateProgress(0);
UpdateDistance(0);
UpdateChrono (0);
UpdateFirst (0);
for (int i = 0; i < 2; i++) {
UpdateSpeeds (i);
UpdateProgress (i);
UpdateDistance (i);
UpdateChrono (i);
UpdateFlags (i);
}
// UpdateFirst (0);
}
void UpdateFirst(int bikeID) {
firsts [bikeID].text = (gm.GetFirst () + 1).ToString();
}
void UpdateFlags(int bikeID) {
flags [bikeID].SetActive (gm.GetFirst () == bikeID);
}
void UpdateChrono(int bikeID) {
float time = gm.GetChrono ();
TimeSpan timeSpan = TimeSpan.FromSeconds(time);
@ -53,10 +62,12 @@ public class HUDManager : MonoBehaviour {
void UpdateDistance(int bikeID) {
distances[bikeID].text = gm.GetBikeManager(bikeID).GetDistance().ToString("#0") + "m";
}
void UpdateProgress(int bikeID) {
progressions[bikeID].SetProgress(gm.GetBikeManager(bikeID).GetProgress());
//progressions[bikeID].SetProgress(gm.GetBikeManager(bikeID).GetProgress());
progressions[bikeID].gameObject.GetComponent<RectTransform>().sizeDelta = new Vector2(gm.GetBikeManager(bikeID).GetProgress() * 600, 5);
}
void UpdateSpeeds(int bikeID) {

View File

@ -1 +1 @@
{"Items":[{"pseudo":"QRJROM","transport":0,"timeStr":"0:28:20"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Tata","transport":0,"timeStr":"0:30:30"},{"pseudo":"Titi","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"}]}
{"Items":[{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Tata","transport":0,"timeStr":"0:30:30"},{"pseudo":"Titi","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"},{"pseudo":"Toto","transport":0,"timeStr":"0:30:30"}]}