- Added the awareness levels and restricted the focus to double clicks on

nodes
This commit is contained in:
Patrice Vignola 2015-08-16 03:15:08 -04:00
parent deaff7055a
commit 2d64ca13ea
30 changed files with 1513 additions and 132 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -0,0 +1,55 @@
fileFormatVersion: 2
guid: a023c2b27dbaaec45ae34c278711bc24
timeCreated: 1439697534
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -3
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: 16
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,161 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 5
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: AwarenessLevel
m_Shader: {fileID: 4800000, guid: dc0fe2d53692d3a4288028f8d5372963, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _BumpMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailNormalMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _ParallaxMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _OcclusionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _EmissionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailMask
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailAlbedoMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _MetallicGlossMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _Cutoff
second: .5
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 0
data:
first:
name: _Parallax
second: .0199999996
data:
first:
name: _ZWrite
second: 1
data:
first:
name: _Glossiness
second: .5
data:
first:
name: _BumpScale
second: 1
data:
first:
name: _OcclusionStrength
second: 1
data:
first:
name: _DetailNormalMapScale
second: 1
data:
first:
name: _UVSec
second: 0
data:
first:
name: _EmissionScaleUI
second: 0
data:
first:
name: _Mode
second: 0
data:
first:
name: _Metallic
second: 0
data:
first:
name: _Stencil
second: 0
data:
first:
name: _Ratio
second: 0
m_Colors:
data:
first:
name: _EmissionColor
second: {r: 0, g: 0, b: 0, a: 1}
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _EmissionColorUI
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _CompletedColor
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _RemainingColor
second: {r: 0, g: 0, b: 0, a: .137254909}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 085386af6af570a47b29380efacfa18d
timeCreated: 1439697617
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,161 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 5
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: FriendAwarenessLevel
m_Shader: {fileID: 4800000, guid: a3a1c69b0135240439146d369cea2dbb, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _BumpMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailNormalMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _ParallaxMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _OcclusionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _EmissionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailMask
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailAlbedoMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _MetallicGlossMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _Cutoff
second: .5
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 0
data:
first:
name: _Parallax
second: .0199999996
data:
first:
name: _ZWrite
second: 1
data:
first:
name: _Glossiness
second: .5
data:
first:
name: _BumpScale
second: 1
data:
first:
name: _OcclusionStrength
second: 1
data:
first:
name: _DetailNormalMapScale
second: 1
data:
first:
name: _UVSec
second: 0
data:
first:
name: _EmissionScaleUI
second: 0
data:
first:
name: _Mode
second: 0
data:
first:
name: _Metallic
second: 0
data:
first:
name: _Stencil
second: 0
data:
first:
name: _Ratio
second: 0
m_Colors:
data:
first:
name: _EmissionColor
second: {r: 0, g: 0, b: 0, a: 1}
data:
first:
name: _Color
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _EmissionColorUI
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _CompletedColor
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _RemainingColor
second: {r: 0, g: 0, b: 0, a: .137254909}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 52cd241b11349d24f97ee7f4ea93a967
timeCreated: 1439704187
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

195
Assets/Materials/UIMask.mat Normal file
View File

@ -0,0 +1,195 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 5
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: UIMask
m_Shader: {fileID: 4800000, guid: 705181f423730b9468fdb10a3b99c156, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 5
m_CustomRenderQueue: -1
m_SavedProperties:
serializedVersion: 2
m_TexEnvs:
data:
first:
name: _MainTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _BumpMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailNormalMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DecalTex
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _ParallaxMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _OcclusionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _EmissionMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailMask
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _DetailAlbedoMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _MetallicGlossMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
data:
first:
name: _SpecGlossMap
second:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
data:
first:
name: _Cutoff
second: .899999976
data:
first:
name: _Shininess
second: 1
data:
first:
name: _SrcBlend
second: 1
data:
first:
name: _DstBlend
second: 0
data:
first:
name: _Parallax
second: .0199999996
data:
first:
name: _ZWrite
second: 1
data:
first:
name: _Glossiness
second: .5
data:
first:
name: _BumpScale
second: 1
data:
first:
name: _OcclusionStrength
second: 1
data:
first:
name: _DetailNormalMapScale
second: 1
data:
first:
name: _UVSec
second: 0
data:
first:
name: _EmissionScaleUI
second: 0
data:
first:
name: _Mode
second: 0
data:
first:
name: _Metallic
second: 0
data:
first:
name: _Stencil
second: 33.2599983
data:
first:
name: _StencilComp
second: 205.600006
data:
first:
name: _StencilOp
second: -50
data:
first:
name: _StencilReadMask
second: 196.050003
data:
first:
name: _StencilWriteMask
second: 489
data:
first:
name: _ColorMask
second: 160
m_Colors:
data:
first:
name: _EmissionColor
second: {r: 0, g: 0, b: 0, a: 0}
data:
first:
name: _Color
second: {r: .448529422, g: .29022491, b: .29022491, a: 1}
data:
first:
name: _SpecColor
second: {r: .200000003, g: .200000003, b: .200000003, a: 1}
data:
first:
name: _EmissionColorUI
second: {r: 1, g: 1, b: 1, a: 1}
data:
first:
name: _Emission
second: {r: 0, g: 0, b: 0, a: 0}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c22c190fd4877414fa5e862acdae3e64
timeCreated: 1439699720
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,86 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &195468
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 4
m_Component:
- 224: {fileID: 22454528}
- 222: {fileID: 22255394}
- 114: {fileID: 11430582}
- 114: {fileID: 11478878}
m_Layer: 5
m_Name: AwarenessBar
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &11430582
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 085386af6af570a47b29380efacfa18d, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Sprite: {fileID: 21300000, guid: a023c2b27dbaaec45ae34c278711bc24, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &11478878
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 51e725985a0e317458c006132d935c25, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!222 &22255394
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
--- !u!224 &22454528
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
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: 0}
m_RootOrder: 0
m_AnchorMin: {x: .185000002, y: .147}
m_AnchorMax: {x: .464206487, y: .5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 195468}
m_IsPrefabParent: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 926fe94f393f0e540bb2f1c5678ecc08
timeCreated: 1439698905
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,86 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &195468
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 4
m_Component:
- 224: {fileID: 22454528}
- 222: {fileID: 22255394}
- 114: {fileID: 11430582}
- 114: {fileID: 11478878}
m_Layer: 5
m_Name: FriendAwarenessBar
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &11430582
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 52cd241b11349d24f97ee7f4ea93a967, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Sprite: {fileID: 21300000, guid: a023c2b27dbaaec45ae34c278711bc24, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &11478878
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 51e725985a0e317458c006132d935c25, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!222 &22255394
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
--- !u!224 &22454528
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 195468}
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: 0}
m_RootOrder: 0
m_AnchorMin: {x: .185000002, y: .147}
m_AnchorMax: {x: .464206487, y: .5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
--- !u!1001 &100100000
Prefab:
m_ObjectHideFlags: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications: []
m_RemovedComponents: []
m_ParentPrefab: {fileID: 0}
m_RootGameObject: {fileID: 195468}
m_IsPrefabParent: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 62ba8147df32d4e42883e8204d32c66c
timeCreated: 1439704172
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -273,6 +273,7 @@ GameObject:
serializedVersion: 4 serializedVersion: 4
m_Component: m_Component:
- 224: {fileID: 22458514} - 224: {fileID: 22458514}
- 222: {fileID: 22286240}
m_Layer: 5 m_Layer: 5
m_Name: Content m_Name: Content
m_TagString: Untagged m_TagString: Untagged
@ -280,6 +281,24 @@ GameObject:
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 1
--- !u!1 &163070
GameObject:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
serializedVersion: 4
m_Component:
- 224: {fileID: 22454288}
- 222: {fileID: 22205402}
- 114: {fileID: 11478634}
- 114: {fileID: 11476856}
m_Layer: 5
m_Name: AwarenessBar
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!1 &189194 --- !u!1 &189194
GameObject: GameObject:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -469,8 +488,8 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 11431992} m_TargetGraphic: {fileID: 11431992}
m_HandleRect: {fileID: 22417254} m_HandleRect: {fileID: 22417254}
m_Direction: 2 m_Direction: 2
m_Value: .999378026 m_Value: 0
m_Size: .427392036 m_Size: 1
m_NumberOfSteps: 0 m_NumberOfSteps: 0
m_OnValueChanged: m_OnValueChanged:
m_PersistentCalls: m_PersistentCalls:
@ -657,7 +676,41 @@ MonoBehaviour:
WatchButton: {fileID: 11491412} WatchButton: {fileID: 11491412}
XButton: {fileID: 11494666} XButton: {fileID: 11494666}
Container: {fileID: 147852} Container: {fileID: 147852}
AwarenessBar: {fileID: 11476856}
FriendAwarenessBar: {fileID: 11478878, guid: 62ba8147df32d4e42883e8204d32c66c, type: 2}
FriendPicture: {fileID: 11469406, guid: 16a1d168f1ef75b4690435675a9e69b0, type: 2} FriendPicture: {fileID: 11469406, guid: 16a1d168f1ef75b4690435675a9e69b0, type: 2}
--- !u!114 &11476856
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 163070}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 51e725985a0e317458c006132d935c25, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &11478634
MonoBehaviour:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 163070}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 085386af6af570a47b29380efacfa18d, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Sprite: {fileID: 21300000, guid: a023c2b27dbaaec45ae34c278711bc24, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!114 &11478962 --- !u!114 &11478962
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -864,6 +917,12 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 125710} m_GameObject: {fileID: 125710}
--- !u!222 &22205402
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 163070}
--- !u!222 &22213958 --- !u!222 &22213958
CanvasRenderer: CanvasRenderer:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -930,6 +989,12 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 113502} m_GameObject: {fileID: 113502}
--- !u!222 &22286240
CanvasRenderer:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 159508}
--- !u!224 &22404366 --- !u!224 &22404366
RectTransform: RectTransform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -1074,6 +1139,23 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5} m_Pivot: {x: .5, y: .5}
--- !u!224 &22454288
RectTransform:
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 163070}
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: 22471300}
m_RootOrder: 1
m_AnchorMin: {x: .185000002, y: .147}
m_AnchorMax: {x: .464206487, y: .5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
--- !u!224 &22456054 --- !u!224 &22456054
RectTransform: RectTransform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -1103,10 +1185,10 @@ RectTransform:
m_Children: [] m_Children: []
m_Father: {fileID: 22464522} m_Father: {fileID: 22464522}
m_RootOrder: 0 m_RootOrder: 0
m_AnchorMin: {x: .5, y: 1} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: .5, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: -65.95298} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 90, y: 132} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5} m_Pivot: {x: .5, y: .5}
--- !u!224 &22462244 --- !u!224 &22462244
RectTransform: RectTransform:
@ -1155,6 +1237,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 22456054} - {fileID: 22456054}
- {fileID: 22454288}
- {fileID: 22483690} - {fileID: 22483690}
- {fileID: 22486224} - {fileID: 22486224}
m_Father: {fileID: 22404366} m_Father: {fileID: 22404366}
@ -1212,7 +1295,7 @@ RectTransform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: [] m_Children: []
m_Father: {fileID: 22471300} m_Father: {fileID: 22471300}
m_RootOrder: 1 m_RootOrder: 2
m_AnchorMin: {x: .185000002, y: .546483397} m_AnchorMin: {x: .185000002, y: .546483397}
m_AnchorMax: {x: 1, y: .877516687} m_AnchorMax: {x: 1, y: .877516687}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
@ -1247,7 +1330,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 22489830} - {fileID: 22489830}
m_Father: {fileID: 22471300} m_Father: {fileID: 22471300}
m_RootOrder: 2 m_RootOrder: 3
m_AnchorMin: {x: .901000023, y: .546483397} m_AnchorMin: {x: .901000023, y: .546483397}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}

View File

@ -196,6 +196,8 @@ RectTransform:
m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 1011525171}
- {fileID: 941214653}
- {fileID: 403748470} - {fileID: 403748470}
- {fileID: 350457696} - {fileID: 350457696}
- {fileID: 906703074} - {fileID: 906703074}
@ -334,7 +336,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 1366676553} - {fileID: 1366676553}
m_Father: {fileID: 122634401} m_Father: {fileID: 122634401}
m_RootOrder: 1 m_RootOrder: 3
m_AnchorMin: {x: 0, y: .550000012} m_AnchorMin: {x: 0, y: .550000012}
m_AnchorMax: {x: 1, y: .699999988} m_AnchorMax: {x: 1, y: .699999988}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
@ -396,7 +398,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 724929356} - {fileID: 724929356}
m_Father: {fileID: 122634401} m_Father: {fileID: 122634401}
m_RootOrder: 0 m_RootOrder: 2
m_AnchorMin: {x: 0, y: .699999988} m_AnchorMin: {x: 0, y: .699999988}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
@ -616,7 +618,7 @@ RectTransform:
- {fileID: 2009587059} - {fileID: 2009587059}
- {fileID: 1197925314} - {fileID: 1197925314}
m_Father: {fileID: 122634401} m_Father: {fileID: 122634401}
m_RootOrder: 2 m_RootOrder: 4
m_AnchorMin: {x: 0, y: .200000003} m_AnchorMin: {x: 0, y: .200000003}
m_AnchorMax: {x: 1, y: .550000012} m_AnchorMax: {x: 1, y: .550000012}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
@ -649,6 +651,128 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 906703073} m_GameObject: {fileID: 906703073}
--- !u!1 &941214652
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 941214653}
- 222: {fileID: 941214655}
- 114: {fileID: 941214654}
m_Layer: 5
m_Name: MaskBot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &941214653
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 941214652}
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: 122634401}
m_RootOrder: 1
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: .224000007}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: .5, y: .5}
--- !u!114 &941214654
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 941214652}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: c22c190fd4877414fa5e862acdae3e64, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &941214655
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 941214652}
--- !u!1 &1011525170
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 224: {fileID: 1011525171}
- 222: {fileID: 1011525173}
- 114: {fileID: 1011525172}
m_Layer: 5
m_Name: MaskTop
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1011525171
RectTransform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1011525170}
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: 122634401}
m_RootOrder: 0
m_AnchorMin: {x: 0, y: .367000014}
m_AnchorMax: {x: .5, y: 1}
m_AnchoredPosition: {x: 0, y: -1.90734863e-06}
m_SizeDelta: {x: 0, y: -3.81469727e-06}
m_Pivot: {x: .5, y: .5}
--- !u!114 &1011525172
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1011525170}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: c22c190fd4877414fa5e862acdae3e64, type: 2}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Sprite: {fileID: 0}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
--- !u!222 &1011525173
CanvasRenderer:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1011525170}
--- !u!1 &1126063559 --- !u!1 &1126063559
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -709,118 +833,16 @@ Transform:
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 1 m_RootOrder: 1
--- !u!1001 &1197925313
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 906703074}
m_Modifications:
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.x
value: .0299999993
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.y
value: .0299999993
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.x
value: .970000029
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.y
value: .970000029
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_Pivot.x
value: .5
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_Pivot.y
value: .5
objectReference: {fileID: 0}
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.y
value: .578712046
objectReference: {fileID: 0}
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.y
value: .999643743
objectReference: {fileID: 0}
- target: {fileID: 11414010, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_Value
value: .999384761
objectReference: {fileID: 0}
- target: {fileID: 11414010, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_Size
value: .420931697
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: c993e87661906234fba410e55ed66832, type: 2}
m_IsPrefabParent: 0
--- !u!224 &1197925314 stripped --- !u!224 &1197925314 stripped
RectTransform: RectTransform:
m_PrefabParentObject: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, m_PrefabParentObject: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832,
type: 2} type: 2}
m_PrefabInternal: {fileID: 1197925313} m_PrefabInternal: {fileID: 1582401601}
--- !u!114 &1197925315 stripped --- !u!114 &1197925315 stripped
MonoBehaviour: MonoBehaviour:
m_PrefabParentObject: {fileID: 11476684, guid: c993e87661906234fba410e55ed66832, m_PrefabParentObject: {fileID: 11476684, guid: c993e87661906234fba410e55ed66832,
type: 2} type: 2}
m_PrefabInternal: {fileID: 1197925313} m_PrefabInternal: {fileID: 1582401601}
m_Script: {fileID: 11500000, guid: 88fb1885d6f8fd6409e3866b7707a12a, type: 3} m_Script: {fileID: 11500000, guid: 88fb1885d6f8fd6409e3866b7707a12a, type: 3}
--- !u!1 &1366676552 --- !u!1 &1366676552
GameObject: GameObject:
@ -918,7 +940,7 @@ RectTransform:
- {fileID: 268520030} - {fileID: 268520030}
- {fileID: 142867288} - {fileID: 142867288}
m_Father: {fileID: 122634401} m_Father: {fileID: 122634401}
m_RootOrder: 3 m_RootOrder: 5
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: .200000003} m_AnchorMax: {x: 1, y: .200000003}
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
@ -951,6 +973,152 @@ CanvasRenderer:
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0} m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1411243505} m_GameObject: {fileID: 1411243505}
--- !u!1001 &1582401601
Prefab:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 906703074}
m_Modifications:
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.x
value: .0299999993
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.y
value: .0299999993
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.x
value: .970000029
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.y
value: .970000029
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_Pivot.x
value: .5
objectReference: {fileID: 0}
- target: {fileID: 22436630, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_Pivot.y
value: .5
objectReference: {fileID: 0}
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22417254, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.x
value: .862309754
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.x
value: .515309691
objectReference: {fileID: 0}
- target: {fileID: 22454288, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22483690, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22483690, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchorMax.x
value: .515309691
objectReference: {fileID: 0}
- target: {fileID: 22483690, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22483690, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22483690, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 22483690, guid: c993e87661906234fba410e55ed66832, type: 2}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: c993e87661906234fba410e55ed66832, type: 2}
m_IsPrefabParent: 0
--- !u!1 &1858163984 --- !u!1 &1858163984
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -5,7 +5,7 @@ using DeathBook.Util;
namespace DeathBook.Model namespace DeathBook.Model
{ {
public class Friendship : Updatable public class Friendship : Updatable, IComparable<Friendship>
{ {
private Person self; private Person self;
public Person Self { get { return self; } } public Person Self { get { return self; } }
@ -53,6 +53,22 @@ namespace DeathBook.Model
return weight * 0.1f; return weight * 0.1f;
} }
public int CompareTo(Friendship other)
{
int value = 0;
if (this.Friend.AwarenessLevel < other.Friend.AwarenessLevel)
{
value = 1;
}
else if (this.Friend.AwarenessLevel > other.Friend.AwarenessLevel)
{
value = -1;
}
return value;
}
/*internal enum Knowledge /*internal enum Knowledge
{ {
Alive, Doubt, Dead Alive, Doubt, Dead

View File

@ -39,6 +39,7 @@ public class NetworkingSphere : MonoBehaviour
private PersonNode[] peopleNodes; private PersonNode[] peopleNodes;
private PersonNode _selectedNode; private PersonNode _selectedNode;
private float _timeSinceLastClick;
// Used to disable the physics when the user has clicked on a node // Used to disable the physics when the user has clicked on a node
private bool _isRotatingTowardsNode = false; private bool _isRotatingTowardsNode = false;
@ -61,6 +62,11 @@ public class NetworkingSphere : MonoBehaviour
void Update() void Update()
{ {
if (_timeSinceLastClick < 2f)
{
_timeSinceLastClick += Time.deltaTime;
}
manager.GameLevel.Update(Time.deltaTime); manager.GameLevel.Update(Time.deltaTime);
//TEMPORARY QUICK FIX: Even though we are never moving the sphere, it starts moving as soon as it stops rotating //TEMPORARY QUICK FIX: Even though we are never moving the sphere, it starts moving as soon as it stops rotating
@ -142,20 +148,23 @@ public class NetworkingSphere : MonoBehaviour
private void OnNodeClicked(PersonNode node) private void OnNodeClicked(PersonNode node)
{ {
if (node == _selectedNode) return;
if (_selectedNode != null) if (_selectedNode != null)
{ {
_selectedNode.Select(false); _selectedNode.Select(false);
} }
if (_timeSinceLastClick < 0.5f && node == _selectedNode)
{
// We focus on the node if double clicked
FocusOnNode(node);
}
_timeSinceLastClick = 0f;
DetailsPanel.SetNode(node); DetailsPanel.SetNode(node);
node.Select(true); node.Select(true);
_selectedNode = node; _selectedNode = node;
// Testing to see how it looks and feels like
FocusOnNode(node);
} }
private void AssignLinks(Level lvl) private void AssignLinks(Level lvl)
@ -223,7 +232,7 @@ public class NetworkingSphere : MonoBehaviour
float ratio = 0f; float ratio = 0f;
while (ratio < 1f) while (ratio < 1f && transform.localRotation != finalRot)
{ {
ratio += Time.deltaTime / 1.5f; ratio += Time.deltaTime / 1.5f;

View File

@ -3,6 +3,7 @@ using System.Collections;
using UnityEngine.UI; using UnityEngine.UI;
using DeathBook.Model; using DeathBook.Model;
using DeathBook.Util; using DeathBook.Util;
using System.Collections.Generic;
public class PersonDetailsPanel : MonoBehaviour, IObserver public class PersonDetailsPanel : MonoBehaviour, IObserver
{ {
@ -13,6 +14,8 @@ public class PersonDetailsPanel : MonoBehaviour, IObserver
public Button WatchButton; public Button WatchButton;
public Button XButton; public Button XButton;
public GameObject Container; public GameObject Container;
public RatioProgression AwarenessBar;
public RatioProgression FriendAwarenessBar;
public UIFriendPicture FriendPicture; public UIFriendPicture FriendPicture;
@ -53,6 +56,8 @@ public class PersonDetailsPanel : MonoBehaviour, IObserver
KillButton.gameObject.SetActive(_model.Alive); KillButton.gameObject.SetActive(_model.Alive);
WatchButton.gameObject.SetActive(_model.Alive); WatchButton.gameObject.SetActive(_model.Alive);
AwarenessBar.SetCompletedRatio(_model.AwarenessLevel);
foreach (Transform picture in FriendsPanel.transform) foreach (Transform picture in FriendsPanel.transform)
{ {
Destroy(picture.gameObject); Destroy(picture.gameObject);
@ -69,23 +74,40 @@ public class PersonDetailsPanel : MonoBehaviour, IObserver
float height = 1f / _model.FriendList.Count; float height = 1f / _model.FriendList.Count;
for (int i = 0; i < _model.FriendList.Count; i++) // We copy the list so we can sort it without affecting the model data
List<Friendship> list = new List<Friendship>(_model.FriendList);
list.Sort();
for (int i = 0; i < list.Count; i++)
{ {
Person friend = _model.FriendList[i].Friend; Person friend = list[i].Friend;
float minY = 1f - (height - 0.01f) * (i + 1) - i * 0.01f;
float maxY = 1f - height * i;
// Friend picture
UIFriendPicture friendPicture = Instantiate(FriendPicture) as UIFriendPicture; UIFriendPicture friendPicture = Instantiate(FriendPicture) as UIFriendPicture;
friendPicture.Model = friend;
Image picture = friendPicture.Picture; Image picture = friendPicture.Picture;
friendPicture.Model = friend;
picture.sprite = friend.Picture; picture.sprite = friend.Picture;
picture.transform.SetParent(FriendsPanel.transform); picture.transform.SetParent(FriendsPanel.transform);
picture.rectTransform.anchorMin = new Vector2(0.022f, 1f - (height - 0.01f) * (i + 1) - i * 0.01f); picture.rectTransform.anchorMin = new Vector2(0.022f, minY);
picture.rectTransform.anchorMax = new Vector2(0.26f, (1f - height * i)); picture.rectTransform.anchorMax = new Vector2(0.26f, maxY);
picture.rectTransform.offsetMin = Vector2.zero; picture.rectTransform.offsetMin = Vector2.zero;
picture.rectTransform.offsetMax = Vector2.zero; picture.rectTransform.offsetMax = Vector2.zero;
// Awareness bar
RatioProgression awarenessBar = Instantiate(FriendAwarenessBar) as RatioProgression;
RectTransform barRectTrans = awarenessBar.GetComponent<RectTransform>();
awarenessBar.SetCompletedRatio(friend.AwarenessLevel);
awarenessBar.transform.SetParent(FriendsPanel.transform);
barRectTrans.anchorMin = new Vector2(0.28f, minY);
barRectTrans.anchorMax = new Vector2(1f, maxY);
barRectTrans.offsetMin = Vector2.zero;
barRectTrans.offsetMax = Vector2.zero;
} }
} }

View File

@ -30,7 +30,6 @@ public class PersonNode : MonoBehaviour, IObserver
private Renderer _renderer; private Renderer _renderer;
private Transform _transform; private Transform _transform;
public Person Model public Person Model
{ {
get { return _model; } get { return _model; }

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 32f37163e04c7e04cb5e5272d4ae8f07
folderAsset: yes
timeCreated: 1434607146
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class RatioProgression : MonoBehaviour
{
private Material _material;
void Awake()
{
if (GetComponent<Renderer>() != null)
{
// GetComponent<Renderer>().material creates its own instance of the material, so it's not shared
_material = GetComponent<Renderer>().material;
}
else if (GetComponent<Image>() != null)
{
// For the UI images, GetComponent<Image>().material is a shared material, so we have to clone it
_material = Instantiate(GetComponent<Image>().material);
GetComponent<Image>().material = _material;
}
}
public void SetCompletedRatio(float ratio)
{
_material.SetFloat("_Ratio", ratio);
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 51e725985a0e317458c006132d935c25
timeCreated: 1434607162
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -29,5 +29,6 @@ public class UIFriendPicture : MonoBehaviour
public void OnClick() public void OnClick()
{ {
_model.SelectNode(); _model.SelectNode();
_model.SelectNode();
} }
} }

9
Assets/Shaders.meta Normal file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: b851a2b38a8a3a449a2e7643db91fb71
folderAsset: yes
timeCreated: 1439697098
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 98bfe83c2fad00b4aafed7c7978b7365
folderAsset: yes
timeCreated: 1434606270
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
Shader "Custom/MaskTest" {
Properties
{
_MainTex ("Base (RGB) Alpha (A)", 2D) = "white" {}
_Cutoff ("Base Alpha cutoff", Range (0,.9)) = .5
_Stencil ("Stencil Ref", Float) = 0
}
SubShader {
Tags {"Queue" = "Transparent+1"}
Offset 0, -1
ColorMask 0
ZWrite On
Pass
{
AlphaTest Greater [_Cutoff]
SetTexture [_MainTex] {
combine texture * primary, texture
}
}
}
}

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 705181f423730b9468fdb10a3b99c156
timeCreated: 1439703308
licenseType: Free
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,86 @@
// http://wiki.unity3d.com/index.php?title=Shader_Code
Shader "Pat Shaders/RatioProgression"
{
Properties
{
_CompletedColor ("Completed Tint", Color) = (0,0,0,0)
_RemainingColor ("Remaining Tint", Color) = (1,1,1,1)
_MainTex ("Texture", 2D) = "white" {}
_Ratio ("Ratio", Range(0,1)) = 0.5
}
SubShader
{
// http://docs.unity3d.com/460/Documentation/Manual/SL-SubshaderTags.html
Tags
{
"Queue"="Transparent-1"
}
// http://docs.unity3d.com/Manual/SL-Blend.html
Blend One OneMinusSrcAlpha
Pass
{
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
fixed4 _CompletedColor;
fixed4 _RemainingColor;
float _Ratio;
sampler2D _MainTex;
// Data transferred from application to vertex program
struct vertexInput
{
float4 vertex : POSITION;
float2 texcoord0 : TEXCOORD0; // Normalized, from 0 to 1
};
// Data transferred from vertex program to fragment program
struct fragmentInput
{
float4 position : SV_POSITION;
float2 texcoord0 : TEXCOORD0; // Normalized, from 0 to 1
};
// Vertex program
fragmentInput vert(vertexInput i)
{
fragmentInput o;
o.position = mul(UNITY_MATRIX_MVP, i.vertex); // Model*View*Projection matrix
o.texcoord0 = i.texcoord0;
return o;
}
// Fragment program
fixed4 frag(fragmentInput i) : COLOR
{
float4 color;
if (i.texcoord0.x <= _Ratio)
{
color = tex2D(_MainTex, i.texcoord0) * _CompletedColor;
}
else
{
color = tex2D(_MainTex, i.texcoord0) * _RemainingColor;
}
color.rgb = color.rgb * color.a;
return color;
}
ENDCG
}
}
}

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: dc0fe2d53692d3a4288028f8d5372963
timeCreated: 1434590948
licenseType: Free
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,96 @@
// http://wiki.unity3d.com/index.php?title=Shader_Code
Shader "Pat Shaders/RatioProgressionMasked"
{
Properties
{
_CompletedColor ("Completed Tint", Color) = (0,0,0,0)
_RemainingColor ("Remaining Tint", Color) = (1,1,1,1)
_MainTex ("Texture", 2D) = "white" {}
_Ratio ("Ratio", Range(0,1)) = 0.5
// To avoid "Material doesn't have stencil properties" message
_Stencil ("Stencil Ref", Float) = 0
}
SubShader
{
// http://docs.unity3d.com/460/Documentation/Manual/SL-SubshaderTags.html
Tags
{
"Queue"="Transparent+2"
}
// http://docs.unity3d.com/Manual/SL-Blend.html
Blend One OneMinusSrcAlpha
Pass
{
Stencil {
Ref 2
Comp always
Pass replace
ZFail decrWrap
}
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
fixed4 _CompletedColor;
fixed4 _RemainingColor;
float _Ratio;
sampler2D _MainTex;
// Data transferred from application to vertex program
struct vertexInput
{
float4 vertex : POSITION;
float2 texcoord0 : TEXCOORD0; // Normalized, from 0 to 1
};
// Data transferred from vertex program to fragment program
struct fragmentInput
{
float4 position : SV_POSITION;
float2 texcoord0 : TEXCOORD0; // Normalized, from 0 to 1
};
// Vertex program
fragmentInput vert(vertexInput i)
{
fragmentInput o;
o.position = mul(UNITY_MATRIX_MVP, i.vertex); // Model*View*Projection matrix
o.texcoord0 = i.texcoord0;
return o;
}
// Fragment program
fixed4 frag(fragmentInput i) : COLOR
{
float4 color;
if (i.texcoord0.x <= _Ratio)
{
color = tex2D(_MainTex, i.texcoord0) * _CompletedColor;
}
else
{
color = tex2D(_MainTex, i.texcoord0) * _RemainingColor;
}
color.rgb = color.rgb * color.a;
return color;
}
ENDCG
}
}
}

View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: a3a1c69b0135240439146d369cea2dbb
timeCreated: 1439704164
licenseType: Free
ShaderImporter:
defaultTextures: []
userData:
assetBundleName:
assetBundleVariant: