World Jobs Listing Board interactable

Whole interactable world-board with different zones and jobs ready to be completed.

- party voting for job selection & scene swapping
- fully working scene change between inn and skellyard
- updated many systems with lots of new information
- bunch of new UIs to acomodate new job and scene swapping voting systems
This commit is contained in:
Pedro Gomes 2024-05-13 01:15:58 +01:00
parent c3e210fdad
commit d12942bff4
102 changed files with 16455 additions and 5816 deletions

View File

@ -25,7 +25,7 @@ namespace ARPGFX
{ {
originalColor = GetComponent<Light>().color; originalColor = GetComponent<Light>().color;
phase = Random.Range(0f, 1f); phase = Random.Range(0f, 1f);
Debug.Log(phase); //Debug.Log(phase);
} }
void Update() void Update()

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 44be7e077ab783543baf1082c0c1c584
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 16b0a6372c296114792cd8af9030fb6d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,80 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: images
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 93fef8f302e065546b3d720ec309773b, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ba611dcf753930541b8f2aef055525f1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: ece0bfa79862ff143a9a9fbeaa1d97b8
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: 10
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: 93fef8f302e065546b3d720ec309773b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Developer/DevPlaceholders/rifticon.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,135 @@
fileFormatVersion: 2
guid: 726594be2463a634088b33d42d6c49a7
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,278 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &5747291696703053363
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5747291696703053360}
- component: {fileID: 5747291696703053327}
- component: {fileID: 5747291696703053326}
- component: {fileID: 5747291696703053361}
m_Layer: 0
m_Name: Board_Placeholder
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5747291696703053360
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291696703053363}
m_LocalRotation: {x: -0, y: 1, z: -0, w: 0}
m_LocalPosition: {x: 0, y: 1.05, z: 0}
m_LocalScale: {x: 2.7519, y: 2.1126945, z: 0.27}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5747291697647577950}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!33 &5747291696703053327
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291696703053363}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &5747291696703053326
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291696703053363}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: ba611dcf753930541b8f2aef055525f1, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!65 &5747291696703053361
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291696703053363}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &5747291697647577921
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5747291697647577950}
m_Layer: 0
m_Name: Visuals
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5747291697647577950
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291697647577921}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5747291696703053360}
m_Father: {fileID: 5747291697774216031}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &5747291697774216001
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5747291697774216031}
- component: {fileID: 5747291697774216028}
- component: {fileID: 5747291697774216029}
m_Layer: 0
m_Name: Board_Interactable
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5747291697774216031
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291697774216001}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 2.07, y: 0.058, z: 8.9}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5747291697647577950}
- {fileID: 5747291698265800633}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5747291697774216028
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291697774216001}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4afb32f520b7975418b5e16d35ce41d6, type: 3}
m_Name:
m_EditorClassIdentifier:
radius: 2
interactableWithRange: 0
rangedRadius: 10
interactionTransform: {fileID: 5747291697774216031}
onJobsBoardInteracted: {fileID: 11400000, guid: 6fdafeb02f643784288165c82b34b6a6, type: 2}
onJobsBoardReleased: {fileID: 11400000, guid: ecc7e93ed1ad0474886e702393fecae7, type: 2}
onWorldJobsUIClosed: {fileID: 5747291698244585690}
--- !u!65 &5747291697774216029
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291697774216001}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 2.7519, y: 2.112695, z: 0.27}
m_Center: {x: 0, y: 1.05, z: 0}
--- !u!1 &5747291698244585692
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5747291698244585693}
- component: {fileID: 5747291698244585690}
m_Layer: 0
m_Name: OnJobsBoardUIClosed
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5747291698244585693
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291698244585692}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5747291698265800633}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5747291698244585690
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291698244585692}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b18d3d5defd7c6845a22a1583a92bfb1, type: 3}
m_Name:
m_EditorClassIdentifier:
Event: {fileID: 11400000, guid: 28c67dc0ce729d54fa01017ffa1c6a8d, type: 2}
Response:
m_PersistentCalls:
m_Calls: []
--- !u!1 &5747291698265800632
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5747291698265800633}
m_Layer: 0
m_Name: Listeners
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5747291698265800633
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5747291698265800632}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5747291698244585693}
m_Father: {fileID: 5747291697774216031}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f35a5e9b663a8da449b6eb6a8c5fad67
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2 fileFormatVersion: 2
guid: 161bd8840e3476343b9a3480c50867d9 guid: 7cf303e1116e7fb46ba92e7d73321eeb
PrefabImporter: PrefabImporter:
externalObjects: {} externalObjects: {}
userData: userData:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 161bd8840e3476343b9a3480c50867d9
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3a60b4726d4107c438fd858e1a87ef87
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,594 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &689173770939794846
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 783151195703595106}
- component: {fileID: 8300257137461025518}
- component: {fileID: 3898934502929124388}
m_Layer: 5
m_Name: Interactable
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &783151195703595106
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 689173770939794846}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5261700514875860693}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 130, y: 65}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8300257137461025518
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 689173770939794846}
m_CullTransparentMesh: 1
--- !u!114 &3898934502929124388
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 689173770939794846}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.16037738, g: 0.16037738, b: 0.16037738, a: 0.7921569}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
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
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &5261700514875860694
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5261700514875860693}
- component: {fileID: 5261700514875860699}
- component: {fileID: 5261700514875860692}
- component: {fileID: 4320327642779395806}
m_Layer: 5
m_Name: JobListingButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5261700514875860693
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700514875860694}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5261700516312486725}
- {fileID: 783151195703595106}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 683, y: -384}
m_SizeDelta: {x: 60, y: 60}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5261700514875860699
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700514875860694}
m_CullTransparentMesh: 1
--- !u!114 &5261700514875860692
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700514875860694}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 0
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0, g: 0.1720128, b: 1, a: 1}
m_PressedColor: {r: 1, g: 0, b: 0, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 5261700516312486724}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!114 &4320327642779395806
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700514875860694}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ac2b9f0004d5c46459100b08288a7599, type: 3}
m_Name:
m_EditorClassIdentifier:
zoneName: {fileID: 5261700515417148302}
button: {fileID: 5261700514875860692}
interactableBlocker: {fileID: 689173770939794846}
onJobSelected: {fileID: 11400000, guid: 2d5ed3d916df49e47b3647991bc9f842, type: 2}
jobData:
zoneName: Zone
experienceFinalReward: 0
coinFinalReward: 0
--- !u!1 &5261700515417148296
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5261700515417148303}
- component: {fileID: 5261700515417148301}
- component: {fileID: 5261700515417148302}
m_Layer: 5
m_Name: Text (TMP)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5261700515417148303
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515417148296}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5261700515547857634}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 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: 0.5, y: 0.5}
--- !u!222 &5261700515417148301
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515417148296}
m_CullTransparentMesh: 1
--- !u!114 &5261700515417148302
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515417148296}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Zone Name
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 25
m_fontSizeBase: 20
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 15
m_fontSizeMax: 25
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!1 &5261700515547857635
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5261700515547857634}
- component: {fileID: 5261700515547857632}
- component: {fileID: 5261700515547857633}
m_Layer: 5
m_Name: TextBackground
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5261700515547857634
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515547857635}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5261700515417148303}
m_Father: {fileID: 5261700515960322995}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 17.5, y: 0}
m_SizeDelta: {x: 85, y: 57}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5261700515547857632
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515547857635}
m_CullTransparentMesh: 1
--- !u!114 &5261700515547857633
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515547857635}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0.1981132, g: 0.1981132, b: 0.1981132, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
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
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &5261700515755460068
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5261700515755460075}
- component: {fileID: 5261700515755460073}
- component: {fileID: 5261700515755460074}
m_Layer: 5
m_Name: Rift
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5261700515755460075
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515755460068}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5261700515960322995}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -42.5, y: 0}
m_SizeDelta: {x: 100, y: 57}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5261700515755460073
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515755460068}
m_CullTransparentMesh: 1
--- !u!114 &5261700515755460074
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515755460068}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 726594be2463a634088b33d42d6c49a7, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &5261700515960322988
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5261700515960322995}
m_Layer: 5
m_Name: Parent
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5261700515960322995
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700515960322988}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5261700515547857634}
- {fileID: 5261700515755460075}
m_Father: {fileID: 5261700516312486725}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.49999976, y: 0}
m_SizeDelta: {x: 0.00000047683716, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &5261700516312486726
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5261700516312486725}
- component: {fileID: 5261700516312486731}
- component: {fileID: 5261700516312486724}
m_Layer: 5
m_Name: Clickable
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5261700516312486725
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700516312486726}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 5261700515960322995}
m_Father: {fileID: 5261700514875860693}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 130, y: 65}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5261700516312486731
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700516312486726}
m_CullTransparentMesh: 1
--- !u!114 &5261700516312486724
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5261700516312486726}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 0.89932394, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
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
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 89d2a0d314362244dac86ad842cb8f59
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,328 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2542795217348634641
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7255787070057235439}
- component: {fileID: 5162644640443482848}
- component: {fileID: 7532175630633520583}
m_Layer: 5
m_Name: Checkmark
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &7255787070057235439
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2542795217348634641}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2725147144442220023}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 5, y: 25}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 1, y: 1}
--- !u!222 &5162644640443482848
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2542795217348634641}
m_CullTransparentMesh: 1
--- !u!114 &7532175630633520583
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2542795217348634641}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 0, g: 1, b: 0.12997723, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: fd47c8b4ebfbd4339858d4d23f587519, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &3488753289072071634
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8240811349670296342}
- component: {fileID: 3815774096635360138}
- component: {fileID: 8689670055309578616}
m_Layer: 5
m_Name: Avatar
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8240811349670296342
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3488753289072071634}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2725147144442220023}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -34, y: 0}
m_SizeDelta: {x: 68, y: 50}
m_Pivot: {x: 0, y: 1}
--- !u!222 &3815774096635360138
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3488753289072071634}
m_CullTransparentMesh: 1
--- !u!114 &8689670055309578616
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3488753289072071634}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 23ef5a7692693cd428d87441042dfa2e, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &5498442182272299257
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2725147144442220023}
- component: {fileID: 1784082253379443605}
- component: {fileID: 6654533784094293798}
- component: {fileID: 3895995260675723199}
- component: {fileID: 3773460334452161122}
m_Layer: 5
m_Name: PartyMember_Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2725147144442220023
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5498442182272299257}
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_ConstrainProportionsScale: 0
m_Children:
- {fileID: 8240811349670296342}
- {fileID: 7255787070057235439}
m_Father: {fileID: 0}
m_RootOrder: 0
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: 1}
--- !u!222 &1784082253379443605
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5498442182272299257}
m_CullTransparentMesh: 1
--- !u!114 &6654533784094293798
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5498442182272299257}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: Alberto Caimbradas
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 15
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 15
m_fontSizeMax: 25
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 1024
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 50, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &3895995260675723199
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5498442182272299257}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IgnoreLayout: 0
m_MinWidth: 100
m_MinHeight: 100
m_PreferredWidth: 150
m_PreferredHeight: 100
m_FlexibleWidth: -1
m_FlexibleHeight: -1
m_LayoutPriority: 1
--- !u!114 &3773460334452161122
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5498442182272299257}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1ea5974c3566482439f58d628be9a48a, type: 3}
m_Name:
m_EditorClassIdentifier:
playerName: {fileID: 6654533784094293798}
avatarIcon: {fileID: 8689670055309578616}
votedCheck: {fileID: 7532175630633520583}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 60651fd2ffd373544ae2cd7cd7b659a9
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 88bbe6812edcc4c4988a269e560879b7
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a192502938b6c6e40b392778d5967de0
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -409,7 +409,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 273ea446b42e3674997512e24fc26948, type: 3} m_Script: {fileID: 11500000, guid: 273ea446b42e3674997512e24fc26948, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
onGameSceneLoaded: {fileID: 11400000, guid: cd9e454697e9ea049afa197e2907fe37, type: 2} zone: {fileID: 11400000, guid: e36ea6b9660389f45a604d7075de7d4b, type: 2}
onGameSceneLoaded: {fileID: 11400000, guid: ddf05d34e629c254f998bd0db6da0481, type: 2}
--- !u!4 &648321316 --- !u!4 &648321316
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1521,3 +1522,60 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 3 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &5747291698143411694
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 5747291697774216001, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_Name
value: Board_Interactable
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_RootOrder
value: 10
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalPosition.x
value: 2.07
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalPosition.y
value: 0.058
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalPosition.z
value: 8.9
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}

View File

@ -348,7 +348,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 273ea446b42e3674997512e24fc26948, type: 3} m_Script: {fileID: 11500000, guid: 273ea446b42e3674997512e24fc26948, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
onGameSceneLoaded: {fileID: 11400000, guid: cd9e454697e9ea049afa197e2907fe37, type: 2} zone: {fileID: 11400000, guid: 5b6467b6a4765974a8a36e80982c566e, type: 2}
onGameSceneLoaded: {fileID: 11400000, guid: ddf05d34e629c254f998bd0db6da0481, type: 2}
--- !u!4 &648321316 --- !u!4 &648321316
Transform: Transform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1489,3 +1490,60 @@ Transform:
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 3 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &2043968820
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 5747291697774216001, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_Name
value: Board_Interactable
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_RootOrder
value: 10
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalPosition.x
value: 11.127
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalPosition.y
value: 0.058
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.w
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.y
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 90
objectReference: {fileID: 0}
- target: {fileID: 5747291697774216031, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f35a5e9b663a8da449b6eb6a8c5fad67, type: 3}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6726d90014b551446976d9561c060c31
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b9908b624f60dcb46ada9e448848a62a, type: 3}
m_Name: RiftHuntersInn
m_EditorClassIdentifier:
zoneName: Rift Hunters' Inn
levelName: 4-RiftHuntersInn

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e36ea6b9660389f45a604d7075de7d4b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b9908b624f60dcb46ada9e448848a62a, type: 3}
m_Name: Skellyard
m_EditorClassIdentifier:
zoneName: Skellyard
levelName: 4-Skellyard

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5b6467b6a4765974a8a36e80982c566e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 541dc1065f0c399498e5dd5c9c7ad419
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,25 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dbcc0fec19ff73748a68f7e4a72db4ec, type: 3}
m_Name: Return to Rift Hunters Inn
m_EditorClassIdentifier:
title: Return to Rift Hunters Inn
description: 'Destination: Rift Hunters Inn
Description:
It''s
time to return to the safety and comfort of the Rift Hunters Inn. This cozy haven
serves as a sanctuary for weary Rift Hunters like yourself.'

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e44b95a614ccdc04db542cdb0511d806
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,27 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: dbcc0fec19ff73748a68f7e4a72db4ec, type: 3}
m_Name: Skelly'nvasion Cleanup Crew
m_EditorClassIdentifier:
title: Skelly'nvasion Cleanup Crew
description: 'Location: The Skellyard (Graveyard)
Mission Brief:
Attention,
Rift Hunters!The Skellyard, once a serene resting place, has been overrun by
a menacing horde of skeletons - the dreaded Skelly''nvasion! As a member of the
Cleanup Crew, your mission is to venture into the heart of the Skellyard and
purge it of these skeletal invaders.'
showJobTitlePrefix: 1

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2098bdef30f596c40976489c855bc37c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 133a43cf408a0824aa1d6619a3e516b5, type: 3}
m_Name: OnPlayerVoteCanceled
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d78f3b47e5f2863419b4dad25bd8b5c2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 133a43cf408a0824aa1d6619a3e516b5, type: 3}
m_Name: OnPlayerVoted
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 60ad71c35f341824ba50d350a4dbc039
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9cd73d209bd642d4ba88c67c19168253
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83fe5321976e21d4b96c6d7182a5b8e2, type: 3}
m_Name: OnPortalInteracted
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 68cf12fc10ade234a8fabc6b74fa6329
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83fe5321976e21d4b96c6d7182a5b8e2, type: 3}
m_Name: OnPortalReleased
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e6587732c6e705c40a38d97e1c46d07e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83fe5321976e21d4b96c6d7182a5b8e2, type: 3}
m_Name: OnReturnToInnUIClosed
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b9dbf3e7129000e49b35a006a84aaa98
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8eec9416d2af0424d9c0078feb5caa47
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 89de3792d68b8064e8bb6457f98e9af0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 80e6e68d91ac03f45a0ffef1d297d4b8, type: 3}
m_Name: OnJobSelected
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2d5ed3d916df49e47b3647991bc9f842
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83fe5321976e21d4b96c6d7182a5b8e2, type: 3}
m_Name: OnJobsBoardInteracted
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6fdafeb02f643784288165c82b34b6a6
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83fe5321976e21d4b96c6d7182a5b8e2, type: 3}
m_Name: OnJobsBoardReleased
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ecc7e93ed1ad0474886e702393fecae7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83fe5321976e21d4b96c6d7182a5b8e2, type: 3}
m_Name: OnJobsBoardUIClosed
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 28c67dc0ce729d54fa01017ffa1c6a8d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 800eff1a3a52ac6418d9878459911bed
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7de78eaa61f81de42ab5dbfe2fc630aa, type: 3}
m_Name: OnGameSceneLoaded
m_EditorClassIdentifier:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ddf05d34e629c254f998bd0db6da0481
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -4,7 +4,7 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
[CreateAssetMenu(fileName = "UnitDifficultySettings", menuName = "RiftMayhem/Difficulty/Settings/UnitDifficultySettings", order = 0)] [CreateAssetMenu(fileName = "UnitDifficultySettings", menuName = "RiftMayhem/Settings/Difficulty/UnitDifficultySettings", order = 0)]
public class UnitDifficultySettings : ScriptableObject public class UnitDifficultySettings : ScriptableObject
{ {
[Header("Main Stat Modifiers:")] [Header("Main Stat Modifiers:")]

View File

@ -30,13 +30,14 @@ public static class GameConstants
#endregion #endregion
} }
public static class NetworkEventCodes public static class NetworkEventCodes
{ {
#region Network Event Codes #region Network Event Codes
public static byte ChangeLevelVoted = 112; public static byte JobSelection = 112;
public static byte LoadLevelStarting = 113; public static byte CancelChangeLevelVoted = 114;
public static byte ChangeLevelVoted = 115;
public static byte LoadLevelStarting = 116;
#endregion #endregion
} }

View File

@ -54,7 +54,7 @@ public class GameStateController : MonoBehaviour
[Header("Listeners:")] [Header("Listeners:")]
[SerializeField] private GameEventListener onLoadLevelStarting; [SerializeField] private GameEventListener onLoadLevelStarting;
[SerializeField] private GameEventListener onGameSceneLoaded; [SerializeField] private GameEventListener_ZoneData onGameSceneLoaded;
@ -70,13 +70,14 @@ public class GameStateController : MonoBehaviour
void Start() void Start()
{ {
CurrentState = GameState.Intro; CurrentState = GameState.Intro;
onCurrentGameStateChanged.Raise((int)currentState);
} }
private void HandleLoadLevelStartingEvent() private void HandleLoadLevelStartingEvent()
{ {
CurrentState = GameState.Loading; CurrentState = GameState.Loading;
} }
private void HandleGameSceneLoadedEvent() private void HandleGameSceneLoadedEvent(ZoneData zoneData)
{ {
if (PhotonNetwork.InRoom) if (PhotonNetwork.InRoom)
CurrentState = GameState.GameScene; CurrentState = GameState.GameScene;

View File

@ -29,7 +29,7 @@ public class Interactable : MonoBehaviour
//Debug.Log("Interacting with: " + transform.name); //Debug.Log("Interacting with: " + transform.name);
} }
private void Update() protected virtual void Update()
{ {
if (isFocus && !hasInteracted) if (isFocus && !hasInteracted)
{ {
@ -51,7 +51,7 @@ public class Interactable : MonoBehaviour
} }
} }
public void OnFocused(Transform playerTransform, PlayerController playerController) public virtual void OnFocused(Transform playerTransform, PlayerController playerController)
{ {
isFocus = true; isFocus = true;
player = playerTransform; player = playerTransform;

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ecbc024bf9c492b4cb81372a9cc572fb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,80 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UIWithInteractable : Interactable
{
[Header("Events:")]
[SerializeField] private GameEvent onInteraction;
[SerializeField] private GameEvent onRelease;
[Header("Listeners:")]
[SerializeField] private GameEventListener onUIClosed;
bool isUIOpen = false;
Transform storedTransform;
protected override void Awake()
{
base.Awake();
onUIClosed.Response.AddListener(CloseInteraction);
}
public override void Interact(bool melee)
{
base.Interact(melee);
if (!melee) return;
isUIOpen = true;
onInteraction.Raise();
}
public override void OnFocused(Transform playerTransform, PlayerController playerController)
{
base.OnFocused(playerTransform, playerController);
storedTransform = playerTransform;
}
protected override void Update()
{
if (isFocus && !hasInteracted)
{
distance = Vector3.Distance(player.position, interactionTransform.position);
if (distance <= radius)
{
Interact(true);
hasInteracted = true;
Debug.Log("Board Interacted-Closeup");
}
else if (interactableWithRange)
{
if (distance <= rangedRadius)
{
Interact(false);
hasInteracted = true;
}
}
}
else if (isUIOpen)
{
distance = Vector3.Distance(storedTransform.position, interactionTransform.position);
if (distance >= radius)
{
OnDeFocus();
onRelease.Raise();
Debug.Log("Board Released");
}
}
}
private void CloseInteraction()
{
isUIOpen = false;
OnDeFocus();
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f1e9c2bf24e5ec64aa75088d76d8e196
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,80 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class WorldJobsListingBoardInteractable : Interactable
{
[Header("Events:")]
[SerializeField] private GameEvent onJobsBoardInteracted;
[SerializeField] private GameEvent onJobsBoardReleased;
[Header("Listeners:")]
[SerializeField] private GameEventListener onWorldJobsUIClosed;
bool isUIOpen = false;
Transform storedTransform;
protected override void Awake()
{
base.Awake();
onWorldJobsUIClosed.Response.AddListener(CloseInteraction);
}
public override void Interact(bool melee)
{
base.Interact(melee);
if (!melee) return;
isUIOpen = true;
onJobsBoardInteracted.Raise();
}
public override void OnFocused(Transform playerTransform, PlayerController playerController)
{
base.OnFocused(playerTransform, playerController);
storedTransform = playerTransform;
}
protected override void Update()
{
if (isFocus && !hasInteracted)
{
distance = Vector3.Distance(player.position, interactionTransform.position);
if (distance <= radius)
{
Interact(true);
hasInteracted = true;
Debug.Log("Board Interacted-Closeup");
}
else if (interactableWithRange)
{
if (distance <= rangedRadius)
{
Interact(false);
hasInteracted = true;
}
}
}
else if (isUIOpen)
{
distance = Vector3.Distance(storedTransform.position, interactionTransform.position);
if (distance >= radius)
{
OnDeFocus();
onJobsBoardReleased.Raise();
Debug.Log("Board Released");
}
}
}
private void CloseInteraction()
{
isUIOpen = false;
OnDeFocus();
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4afb32f520b7975418b5e16d35ce41d6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -4,11 +4,12 @@ using UnityEngine;
public class GameScene : MonoBehaviour public class GameScene : MonoBehaviour
{ {
[SerializeField] private GameEvent onGameSceneLoaded; [SerializeField] private ZoneData zone;
[SerializeField] private GameEvent_ZoneData onGameSceneLoaded;
private void Awake() private void Awake()
{ {
onGameSceneLoaded.Raise(); onGameSceneLoaded.Raise(zone);
} }
// Start is called before the first frame update // Start is called before the first frame update

View File

@ -17,16 +17,19 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
[SerializeField] private GameEvent_Player onPlayerJoinedParty; [SerializeField] private GameEvent_Player onPlayerJoinedParty;
[SerializeField] private GameEvent_Player onPlayerLeftParty; [SerializeField] private GameEvent_Player onPlayerLeftParty;
[SerializeField] private GameEvent_Player onPlayerVoted;
[SerializeField] private GameEvent_Player onPlayerVoteCanceled;
[SerializeField] private GameEvent onLoadLevelStarting; [SerializeField] private GameEvent onLoadLevelStarting;
[SerializeField] private GameEventListener onGameSceneLoaded; [SerializeField] private GameEventListener_ZoneData onGameSceneLoaded;
[SerializeField] private GameEventListener_PhotonView onPlayerSpawned; [SerializeField] private GameEventListener_PhotonView onPlayerSpawned;
//[SerializeField] private TMP_Text nextRiftVoteText; [SerializeField] private TMP_Text changeLevelVoteText;
private int count = 0; private int count = 0;
private bool changeLevelVoted = false; private bool changeLevelVoted = false;
private Button voteButton;
//private object inProgress = false; //private object inProgress = false;
private Dictionary<Player, bool> playerVoted = new Dictionary<Player, bool>(); private Dictionary<Player, bool> playerVoted = new Dictionary<Player, bool>();
@ -38,6 +41,7 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
readonly string skellyard = "4-Skellyard"; readonly string skellyard = "4-Skellyard";
private void Awake() private void Awake()
{ {
DontDestroyOnLoad(this); DontDestroyOnLoad(this);
@ -71,6 +75,9 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
public override void OnJoinedRoom() public override void OnJoinedRoom()
{ {
Debug.Log("Party \"" + PhotonNetwork.CurrentRoom.Name + "\" joined."); Debug.Log("Party \"" + PhotonNetwork.CurrentRoom.Name + "\" joined.");
ClearVotes();
if (!SceneManager.GetActiveScene().name.Contains(huntersInn)) if (!SceneManager.GetActiveScene().name.Contains(huntersInn))
{ {
if (PhotonNetwork.IsMasterClient) if (PhotonNetwork.IsMasterClient)
@ -80,10 +87,11 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
} }
} }
public void OnGameSceneLoaded() public void OnGameSceneLoaded(ZoneData zoneData)
{ {
ClearVotes();
StartCoroutine(SpawnCharacterWithDelay()); StartCoroutine(SpawnCharacterWithDelay());
if (PhotonNetwork.LocalPlayer.IsMasterClient && SceneManager.GetActiveScene().name != huntersInn) if (PhotonNetwork.LocalPlayer.IsMasterClient && zoneData.levelName != huntersInn)
StartCoroutine(SpawnEnemiesWithDelay()); StartCoroutine(SpawnEnemiesWithDelay());
} }
@ -160,6 +168,7 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
Debug.Log("New player joined: " + newPlayer.NickName); Debug.Log("New player joined: " + newPlayer.NickName);
playerVoted.Add(newPlayer, false); playerVoted.Add(newPlayer, false);
changeLevelVoteText.text = $"Votes: {count}/{PhotonNetwork.PlayerList.Length}";
//party.Add(newPlayer); //party.Add(newPlayer);
//onPlayerJoinedParty.Raise(newPlayer); //onPlayerJoinedParty.Raise(newPlayer);
} }
@ -167,6 +176,8 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
{ {
if (playerVoted.ContainsKey(otherPlayer)) if (playerVoted.ContainsKey(otherPlayer))
{ {
if (playerVoted[otherPlayer])
count--;
playerVoted.Remove(otherPlayer); playerVoted.Remove(otherPlayer);
} }
if (party.Contains(otherPlayer)) if (party.Contains(otherPlayer))
@ -174,7 +185,7 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
party.Remove(otherPlayer); party.Remove(otherPlayer);
onPlayerLeftParty.Raise(otherPlayer); onPlayerLeftParty.Raise(otherPlayer);
} }
changeLevelVoteText.text = $"Votes: {count}/{PhotonNetwork.PlayerList.Length}";
Debug.Log("Player left: " + otherPlayer.NickName); Debug.Log("Player left: " + otherPlayer.NickName);
} }
public void OnPlayerSpawned(PhotonView photonView) public void OnPlayerSpawned(PhotonView photonView)
@ -188,8 +199,9 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
if (!PhotonNetwork.IsConnected) return; if (!PhotonNetwork.IsConnected) return;
if (changeLevelVoted) return; if (changeLevelVoted) return;
voteButton = button;
changeLevelVoted = true; changeLevelVoted = true;
button.interactable = false; voteButton.interactable = false;
if (PhotonNetwork.CurrentRoom.PlayerCount == 1) if (PhotonNetwork.CurrentRoom.PlayerCount == 1)
{ {
CountVote(PhotonNetwork.LocalPlayer); CountVote(PhotonNetwork.LocalPlayer);
@ -210,6 +222,20 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
} }
} }
public void CancelChangeLevelVote()
{
if (!PhotonNetwork.IsConnected) return;
if (!changeLevelVoted) return;
changeLevelVoted = false;
if (voteButton != null)
voteButton.interactable = true;
RemoveVote(PhotonNetwork.LocalPlayer);
RaiseEventOptions raiseEventOptions = new RaiseEventOptions { Receivers = ReceiverGroup.Others };
PhotonNetwork.RaiseEvent(GameConstants.NetworkEventCodes.CancelChangeLevelVoted, PhotonNetwork.LocalPlayer, raiseEventOptions, SendOptions.SendReliable);
}
private void Send_All_OnLoadLevelStarting() private void Send_All_OnLoadLevelStarting()
{ {
@ -238,6 +264,15 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
CountVote(player); CountVote(player);
} }
} }
if (photonEvent.Code == GameConstants.NetworkEventCodes.CancelChangeLevelVoted)
{
Player player = (Player)photonEvent.CustomData;
Debug.Log(player);
Debug.Log(player.ActorNumber);
Debug.Log(player.NickName);
RemoveVote(player);
}
if (photonEvent.Code == GameConstants.NetworkEventCodes.LoadLevelStarting) if (photonEvent.Code == GameConstants.NetworkEventCodes.LoadLevelStarting)
{ {
Debug.Log("loadlevelStarting"); Debug.Log("loadlevelStarting");
@ -251,7 +286,30 @@ public class NetworkManager : MonoBehaviourPunCallbacks, IOnEventCallback
{ {
playerVoted[player] = true; playerVoted[player] = true;
count++; count++;
//nextRiftVoteText.text = $"{count}/{PhotonNetwork.PlayerList.Length}"; changeLevelVoteText.text = $"Votes: {count}/{PhotonNetwork.PlayerList.Length}";
onPlayerVoted.Raise(player);
}
private void RemoveVote(Player player)
{
playerVoted[player] = false;
count--;
if (count < 0) count = 0;
changeLevelVoteText.text = $"Votes: {count}/{PhotonNetwork.PlayerList.Length}";
onPlayerVoteCanceled.Raise(player);
}
private void ClearVotes()
{
List<Player> keys = new List<Player>(playerVoted.Keys);
for (int i = 0; i < keys.Count; i++)
{
playerVoted[keys[i]] = false;
}
count = 0;
if (voteButton != null)
voteButton.interactable = true;
changeLevelVoted = false;
changeLevelVoteText.text = $"Votes: {count}/{PhotonNetwork.PlayerList.Length}";
} }
private void NetworkLoadVotedLevel() private void NetworkLoadVotedLevel()

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 22178fcff0ce8aa42a86e9e32aba48b5
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,26 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class JobData
{
public JobDescription jobDescription;
public ZoneData zoneData;
public int coinFinalReward;
public float experienceFinalReward;
public float reputationFinalReward;
public JobData()
{
zoneData = null;
experienceFinalReward = 0;
coinFinalReward = 0;
}
public JobData(ZoneData zoneData, float expReward, int coinReward)
{
this.zoneData = zoneData;
experienceFinalReward = expReward;
coinFinalReward = coinReward;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 9894eb4a1f32c6a4594ae4b9d3c39ded
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,22 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(fileName = "JobDescription", menuName = "RiftMayhem/Settings/Jobs/Job Description", order = 0)]
public class JobDescription : ScriptableObject
{
[Header("Title:")]
public string title = "Skelly'nvasion Cleanup Crew";
[Header("Description:")]
[TextArea(10,20)]
public string description = @"Location: The Skellyard (Graveyard)
Mission Brief:
Attention, Rift Hunters!The Skellyard, once a serene resting place, has been overrun by a menacing horde of skeletons - the dreaded Skelly'nvasion! As a member of the Cleanup Crew, your mission is to venture into the heart of the Skellyard and purge it of these skeletal invaders.";
[Header("Settings:")]
public bool showJobTitlePrefix = true;
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: dbcc0fec19ff73748a68f7e4a72db4ec
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
using Kryz.CharacterStats.Examples;
using Kryz.CharacterStats;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(fileName = "ZoneData", menuName = "RiftMayhem/Settings/Zones/ZoneData", order = 0)]
public class ZoneData : ScriptableObject
{
[Header("In-game name:")]
public string zoneName;
[Header("Respective Level to Load Name:")]
public string levelName;
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b9908b624f60dcb46ada9e448848a62a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -8,6 +8,4 @@ public class PartyFrameButton : MonoBehaviour
{ {
public Button button; public Button button;
public TMP_Text playerName; public TMP_Text playerName;
} }

View File

@ -8,17 +8,23 @@ using UnityEngine.UI;
public class PartyFramesController : MonoBehaviour public class PartyFramesController : MonoBehaviour
{ {
[SerializeField] private GameObject partyFrameButtonPrefab; [SerializeField] private GameObject partyFrameButtonPrefab;
[SerializeField] private GameObject partyFrameVotePrefab;
[SerializeField] private Transform parentGrid; [SerializeField] private Transform parentGrid;
[SerializeField] private Transform voteParentGrid;
[SerializeField] private GameEventListener_Player onPlayerJoinedParty; [SerializeField] private GameEventListener_Player onPlayerJoinedParty;
[SerializeField] private GameEventListener_Player onPlayerLeftParty; [SerializeField] private GameEventListener_Player onPlayerLeftParty;
[SerializeField] private GameEventListener_Player onPlayerVoted;
[SerializeField] private GameEventListener_Player onPlayerVoteCanceled;
[SerializeField] private GameEventListener_PhotonView onPlayerSpawned; [SerializeField] private GameEventListener_PhotonView onPlayerSpawned;
[SerializeField] private List<Sprite> classImages = new List<Sprite>(); [SerializeField] private List<Sprite> classImages = new List<Sprite>();
[SerializeField] private List<GameTag> classTags = new List<GameTag>(); [SerializeField] private List<GameTag> classTags = new List<GameTag>();
public Dictionary<Player, PartyFrameButton> partyFrameButtons = new Dictionary<Player, PartyFrameButton>(); public Dictionary<Player, PartyFrameButton> partyFrameButtons = new Dictionary<Player, PartyFrameButton>();
public Dictionary<Player, PartyVoteFrame> partyVoteFrames = new Dictionary<Player, PartyVoteFrame>();
GameObject buttonGO; GameObject buttonGO;
PartyFrameButton button; PartyFrameButton button;
PartyVoteFrame frame;
RiftPlayer riftPlayer; RiftPlayer riftPlayer;
private void Awake() private void Awake()
@ -26,6 +32,8 @@ public class PartyFramesController : MonoBehaviour
onPlayerJoinedParty.Response.AddListener(AddNewPartyMemberFrame); onPlayerJoinedParty.Response.AddListener(AddNewPartyMemberFrame);
onPlayerLeftParty.Response.AddListener(RemovePartyMemberFrame); onPlayerLeftParty.Response.AddListener(RemovePartyMemberFrame);
onPlayerSpawned.Response.AddListener(UpdatePartyMemberFrame); onPlayerSpawned.Response.AddListener(UpdatePartyMemberFrame);
onPlayerVoted.Response.AddListener(UpdateVoteCheckmark);
onPlayerVoteCanceled.Response.AddListener(CancelVoteCheckmark);
} }
public void AddNewPartyMemberFrame(Player player) public void AddNewPartyMemberFrame(Player player)
@ -36,7 +44,17 @@ public class PartyFramesController : MonoBehaviour
button = buttonGO.GetComponent<PartyFrameButton>(); button = buttonGO.GetComponent<PartyFrameButton>();
button.playerName.text = player.NickName; button.playerName.text = player.NickName;
partyFrameButtons.Add(player, button); partyFrameButtons.Add(player, button);
AddVoteAvatarFrame(player);
} }
private void AddVoteAvatarFrame(Player player)
{
buttonGO = Instantiate(partyFrameVotePrefab, voteParentGrid);
frame = buttonGO.GetComponent<PartyVoteFrame>();
frame.playerName.text = player.NickName;
partyVoteFrames.Add(player, frame);
}
public void RemovePartyMemberFrame(Player player) public void RemovePartyMemberFrame(Player player)
{ {
if(partyFrameButtons.ContainsKey(player)) if(partyFrameButtons.ContainsKey(player))
@ -44,6 +62,11 @@ public class PartyFramesController : MonoBehaviour
Destroy(partyFrameButtons[player].gameObject); Destroy(partyFrameButtons[player].gameObject);
partyFrameButtons.Remove(player); partyFrameButtons.Remove(player);
} }
if(partyVoteFrames.ContainsKey(player))
{
Destroy(partyVoteFrames[player].gameObject);
partyVoteFrames.Remove(player);
}
} }
public void UpdatePartyMemberFrame(PhotonView photonView) public void UpdatePartyMemberFrame(PhotonView photonView)
{ {
@ -60,7 +83,11 @@ public class PartyFramesController : MonoBehaviour
for (int i = 0; i < classTags.Count; i++) for (int i = 0; i < classTags.Count; i++)
{ {
if (riftPlayer.classTag == classTags[i]) if (riftPlayer.classTag == classTags[i])
{
partyFrameButtons[photonView.Owner].button.image.sprite = classImages[i]; partyFrameButtons[photonView.Owner].button.image.sprite = classImages[i];
partyVoteFrames[photonView.Owner].avatarIcon.sprite = classImages[i];
partyVoteFrames[photonView.Owner].votedCheck.gameObject.SetActive(false);
}
} }
} }
else else
@ -69,4 +96,19 @@ public class PartyFramesController : MonoBehaviour
UpdatePartyMemberFrame(photonView); UpdatePartyMemberFrame(photonView);
} }
} }
private void UpdateVoteCheckmark(Player player)
{
if(partyVoteFrames.ContainsKey(player))
{
partyVoteFrames[player].votedCheck.gameObject.SetActive(true);
}
}
private void CancelVoteCheckmark(Player player)
{
if (partyVoteFrames.ContainsKey(player))
{
partyVoteFrames[player].votedCheck.gameObject.SetActive(false);
}
}
} }

View File

@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class PartyVoteFrame : MonoBehaviour
{
public TMP_Text playerName;
public Image avatarIcon;
public Image votedCheck;
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1ea5974c3566482439f58d628be9a48a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: edc3fb0811e03b84bb71368fd2a3c1e2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,94 @@
using ExitGames.Client.Photon;
using Photon.Pun;
using Photon.Realtime;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class JobInfoPanel : MonoBehaviour, IOnEventCallback
{
[Header("Components:")]
[SerializeField] private TMP_Text title;
[SerializeField] private TMP_Text description;
[SerializeField] private TMP_Text coinReward;
[SerializeField] private TMP_Text experienceReward;
[SerializeField] private TMP_Text reputationReward;
[SerializeField] private GameObject infoPanel;
[SerializeField] private Button closeButton;
[Header("Listeners:")]
[SerializeField] private GameEventListener_JobData onJobSelected;
[SerializeField] private GameEventListener onJobsBoardReleased;
[SerializeField] private GameEventListener_Player onPlayerVoted;
private void Awake()
{
onJobSelected.Response.AddListener((job) => SetupJobInfoPanel(job, true));
onJobSelected.Response.AddListener(Send_Others_OnJobSelected);
onJobsBoardReleased.Response.AddListener(() => ToggleInfoPanel(false));
onPlayerVoted.Response.AddListener((player) =>
{
if (player != PhotonNetwork.LocalPlayer)
ToggleInfoPanel(true);
});
closeButton.onClick.AddListener(() => ToggleInfoPanel(false));
}
private void SetupJobInfoPanel(JobData jobData, bool showPanel)
{
if (jobData.jobDescription.showJobTitlePrefix)
title.text = $"Job Title: {jobData.jobDescription.title}";
else
title.text = $"{jobData.jobDescription.title}";
description.text = jobData.jobDescription.description;
coinReward.text = jobData.coinFinalReward.ToString();
experienceReward.text = jobData.experienceFinalReward.ToString();
reputationReward.text = jobData.reputationFinalReward.ToString();
if (showPanel)
ToggleInfoPanel(true);
}
public void ToggleInfoPanel(bool visible)
{
infoPanel.SetActive(visible);
}
private void Send_Others_OnJobSelected(JobData jobData)
{
if (PhotonNetwork.CurrentRoom.PlayerCount <= 1) return;
string jsonJobData = JsonUtility.ToJson(jobData);
RaiseEventOptions raiseEventOptions = new RaiseEventOptions { Receivers = ReceiverGroup.Others };
PhotonNetwork.RaiseEvent(GameConstants.NetworkEventCodes.JobSelection, jsonJobData, raiseEventOptions, SendOptions.SendReliable);
}
public void OnEvent(EventData photonEvent)
{
if (photonEvent.Code == GameConstants.NetworkEventCodes.JobSelection)
{
string jsonJobData = (string)photonEvent.CustomData;
Debug.Log("Job selected: " + jsonJobData);
SetupJobInfoPanel(JsonUtility.FromJson<JobData>(jsonJobData), false);
}
}
public void OnEnable()
{
PhotonNetwork.AddCallbackTarget(this);
}
public void OnDisable()
{
PhotonNetwork.RemoveCallbackTarget(this);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: e7d4c2b087be5bf46b20b3162fd10bed
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,75 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class JobListingButton : MonoBehaviour
{
[Header("Data:")]
[SerializeField] private ZoneData zoneData;
[Header("Components:")]
[SerializeField] private TMP_Text zoneName;
[SerializeField] private Button button;
[SerializeField] private GameObject interactableBlocker;
[Header("Events:")]
[SerializeField] private GameEvent_JobData onJobSelected;
[Header("Runtime Data:")]
public JobData jobData = new JobData();
public ZoneData GetZoneData()
{
return zoneData;
}
private void Awake()
{
if (button == null)
button = GetComponent<Button>();
if (zoneName == null)
zoneName = GetComponentInChildren<TMP_Text>();
if (zoneData == null)
{
button.interactable = false;
interactableBlocker.SetActive(!button.interactable);
this.enabled = false;
return;
}
jobData.zoneData = zoneData;
zoneName.text = jobData.zoneData.zoneName;
button.onClick.AddListener(SendSelectedJobData);
}
private void Update()
{
if (button == null) return;
if (interactableBlocker == null) return;
interactableBlocker.SetActive(!button.interactable);
}
public void ToggleInteractable(bool interactable)
{
button.interactable = interactable;
interactableBlocker.SetActive(!button.interactable);
}
public void UpdateJobData(JobData jobData)
{
this.jobData.experienceFinalReward = jobData.experienceFinalReward;
this.jobData.coinFinalReward = jobData.coinFinalReward;
}
private void SendSelectedJobData()
{
onJobSelected.Raise(jobData);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: ac2b9f0004d5c46459100b08288a7599
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,56 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WorldJobsListingUIController : MonoBehaviour
{
[Header("Components:")]
[SerializeField] private GameObject jobsListingUI;
[SerializeField] private Button closeButton;
[Header("Events:")]
[SerializeField] private GameEvent onJobsListingUIClosed;
[Header("Listeners:")]
[SerializeField] private GameEventListener onJobsBoardInteracted;
[SerializeField] private GameEventListener onJobsBoardReleased;
[SerializeField] private GameEventListener_ZoneData onGameSceneLoaded;
private List<JobListingButton> zoneButtons = new List<JobListingButton>();
private void Awake()
{
onJobsBoardInteracted.Response.AddListener(() => ToggleUIPanel(true));
onJobsBoardReleased.Response.AddListener(() => ToggleUIPanel(false));
onGameSceneLoaded.Response.AddListener(DisableZoneButton);
foreach (JobListingButton button in jobsListingUI.GetComponentsInChildren<JobListingButton>(true))
{
zoneButtons.Add(button);
}
closeButton.onClick.AddListener(() => ToggleUIPanel(false));
}
private void ToggleUIPanel(bool visible)
{
jobsListingUI.SetActive(visible);
if(!visible)
onJobsListingUIClosed.Raise();
}
private void DisableZoneButton(ZoneData zoneData)
{
ZoneData buttonData;
for (int i = 0; i < zoneButtons.Count; i++)
{
buttonData = zoneButtons[i].GetZoneData();
if (buttonData == null) continue;
if (buttonData.levelName == zoneData.levelName)
zoneButtons[i].ToggleInteractable(false);
else
zoneButtons[i].ToggleInteractable(true);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: f0e81034be92411448de7fcb11319d35
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a885c784e7ee2ac4098035d24ae8f639
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,31 @@
using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class GameEventListener_JobData : MonoBehaviour
{
public GameEvent_JobData Event;
public UnityEvent_JobData Response;
private void OnEnable()
{
Event.RegisterListener(this);
}
private void OnDisable()
{
Event.UnRegisterListener(this);
}
public void OnEventRaised(JobData jobData)
{
Response.Invoke(jobData);
}
}
[System.Serializable]
public class UnityEvent_JobData : UnityEvent<JobData>
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c6f7b325f93a3f9419434a3ff0e2b63d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,31 @@
using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class GameEventListener_ZoneData : MonoBehaviour
{
public GameEvent_ZoneData Event;
public UnityEvent_ZoneData Response;
private void OnEnable()
{
Event.RegisterListener(this);
}
private void OnDisable()
{
Event.UnRegisterListener(this);
}
public void OnEventRaised(ZoneData jobData)
{
Response.Invoke(jobData);
}
}
[System.Serializable]
public class UnityEvent_ZoneData : UnityEvent<ZoneData>
{
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 954903b677a2e9d49b13f69129ffaa41
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "GameEvent_JobData", menuName = "Wavefunction/Event/New GameEvent JobData", order = 1)]
public class GameEvent_JobData : ScriptableObject
{
private List<GameEventListener_JobData> listeners = new List<GameEventListener_JobData>();
public void Raise(JobData jobData)
{
for (int i = listeners.Count - 1; i >= 0; i--)
{
listeners[i].OnEventRaised(jobData);
}
}
public void RegisterListener(GameEventListener_JobData listener)
{
listeners.Add(listener);
}
public void UnRegisterListener(GameEventListener_JobData listener)
{
listeners.Remove(listener);
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 80e6e68d91ac03f45a0ffef1d297d4b8
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "GameEvent_ZoneData", menuName = "Wavefunction/Event/New GameEvent ZoneData", order = 1)]
public class GameEvent_ZoneData : ScriptableObject
{
private List<GameEventListener_ZoneData> listeners = new List<GameEventListener_ZoneData>();
public void Raise(ZoneData zoneData)
{
for (int i = listeners.Count - 1; i >= 0; i--)
{
listeners[i].OnEventRaised(zoneData);
}
}
public void RegisterListener(GameEventListener_ZoneData listener)
{
listeners.Add(listener);
}
public void UnRegisterListener(GameEventListener_ZoneData listener)
{
listeners.Remove(listener);
}
}

Some files were not shown because too many files have changed in this diff Show More