Commit 11bdacfd authored by Yousef Sameh's avatar Yousef Sameh

more polish

parent 393db714
fileFormatVersion: 2
guid: 89874a04686bb5153a50e0bff088576c
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
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
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 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: 2
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
customData:
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
......@@ -76,7 +76,7 @@ MonoBehaviour:
overEdge: 0
underEdge: 0
leadingDistribution: 0
autoSize: 1
autoSize: 0
minFontSize: 10
maxFontSize: 72
modRegisters:
......
......@@ -53,9 +53,15 @@ MonoBehaviour:
neutralGlowCornea: {r: 0, g: 12.830189, b: 11.991371, a: 1}
happyCornea: {r: 0.23865911, g: 1.0943396, b: 0, a: 1}
sadCornea: {r: 2.9960783, g: 0, b: 0, a: 1}
neutralRobot: {r: 0.62352943, g: 0.62352943, b: 0.62352943, a: 0.8352941}
happyRobot: {r: 0.59525263, g: 1, b: 0.504717, a: 1}
sadRobot: {r: 1, g: 0.3160377, b: 0.3160377, a: 1}
robotMaterial: {fileID: 2100000, guid: 9f2645559b8b14773b709fbd9bd6e2ff, type: 2}
eyeMaterial: {fileID: 2100000, guid: 01377584c22b84f819ecac7f4047c921, type: 2}
corneaMaterial: {fileID: 2100000, guid: f5da68cd484f44ced9e11ab1ad6a9c1a, type: 2}
eyeBackToNeutralDelay: 0.8
sizeChanagePerQuestion: 2
sizeChangeDuration: 0.65
--- !u!1001 &2883850800454280294
PrefabInstance:
m_ObjectHideFlags: 0
......@@ -118,15 +124,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4431084402279646, guid: 8e0f285c21cdcf14e8d5c06c57ba936b, type: 3}
propertyPath: m_LocalScale.x
value: 15
value: 17
objectReference: {fileID: 0}
- target: {fileID: 4431084402279646, guid: 8e0f285c21cdcf14e8d5c06c57ba936b, type: 3}
propertyPath: m_LocalScale.y
value: 15
value: 17
objectReference: {fileID: 0}
- target: {fileID: 4431084402279646, guid: 8e0f285c21cdcf14e8d5c06c57ba936b, type: 3}
propertyPath: m_LocalScale.z
value: 15
value: 17
objectReference: {fileID: 0}
- target: {fileID: 4431084402279646, guid: 8e0f285c21cdcf14e8d5c06c57ba936b, type: 3}
propertyPath: m_LocalPosition.x
......
This diff is collapsed.
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2545111228731505627
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 227226176231615107}
m_Layer: 0
m_Name: Walls
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &227226176231615107
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2545111228731505627}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -27, z: 89}
m_LocalScale: {x: 4, y: 4, z: 4}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 3459185559136619570}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &4428471299362975380
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5206879946700682234}
- component: {fileID: 5590491152270383935}
m_Layer: 0
m_Name: Spawner
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!4 &5206879946700682234
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4428471299362975380}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 4.59, z: 14.01}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3459185559136619570}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &5590491152270383935
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4428471299362975380}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 773444aa396dbe80ea8adc38fb78218f, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::ScienceStreet.Shared.FloatingScienceSpawner
spawnCount: 12
areaSize: {x: 20, y: 10, z: 10}
areaCenterOffset: {x: 0, y: 0, z: 0}
minScale: 0.4
maxScale: 0.7
jitterAmount: 0.8
gizmoColor: {r: 0, g: 1, b: 1, a: 0.3}
showGizmoAlways: 1
prefabs:
- {fileID: 2133177836924687968, guid: b07c6f601396c371abf1e61b52480d5e, type: 3}
- {fileID: 3271137096398141718, guid: 99f8ba5ef1ac0e59ab715db1598ced7c, type: 3}
- {fileID: 7874520763742037455, guid: f9d3c22239a8369faaadf615572ec9a1, type: 3}
- {fileID: 5762919650071864259, guid: 4b2fea39f1c8420e48f5d8dd788b86e8, type: 3}
- {fileID: 4360980505574456908, guid: 5afa4968763d862a0963c0a4148c4bb7, type: 3}
- {fileID: 1392607843811860057, guid: b1a3f42ea776dbf3dba3ee6d3dff6494, type: 3}
--- !u!1 &5868935748380779499
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8888474326780272226}
m_Layer: 0
m_Name: Buliding
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8888474326780272226
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5868935748380779499}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -16.552494, y: -25.146423, z: 93.717575}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 3459185559136619570}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &6249760000108404142
GameObject:
m_ObjectHideFlags: 0
......@@ -151,10 +30,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 6304995935313440440}
- {fileID: 8888474326780272226}
- {fileID: 227226176231615107}
- {fileID: 5658208607474641453}
- {fileID: 5206879946700682234}
- {fileID: 2934057651877588098}
- {fileID: 8921667833521567868}
m_Father: {fileID: 0}
......@@ -186,7 +62,7 @@ Transform:
m_GameObject: {fileID: 7291524495689956111}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.34, y: 1.88, z: -3.86}
m_LocalPosition: {x: 0.34, y: 1.88, z: -5.4}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
......@@ -343,6 +219,10 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 3459185559136619570}
m_Modifications:
- target: {fileID: 3062164300472580502, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: m_SortingOrder
value: -2
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: simulationSpeed
value: 0.5
......@@ -417,15 +297,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: InitialModule.startColor.maxColor.b
value: 1
value: 0.9882353
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: InitialModule.startColor.maxColor.g
value: 1
value: 0.98039216
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: InitialModule.startColor.maxColor.r
value: 1
value: 0.9764706
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: VelocityModule.orbitalOffsetZ.scalar
......@@ -483,21 +363,33 @@ PrefabInstance:
propertyPath: ColorModule.gradient.maxGradient.key1.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key1.b
value: 0.9882353
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key1.g
value: 0.98039216
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key1.r
value: 0.9764706
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key2.a
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key2.b
value: 0.90326357
value: 0.9882353
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key2.g
value: 0.90326357
value: 0.98039216
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key2.r
value: 0.90326357
value: 0.9764706
objectReference: {fileID: 0}
- target: {fileID: 5575199186091687107, guid: f6a96aea8b5353b489fb65244adce6c8, type: 3}
propertyPath: ColorModule.gradient.maxGradient.key3.a
......@@ -661,13 +553,25 @@ PrefabInstance:
propertyPath: m_RootOrder
value: 1389
objectReference: {fileID: 0}
- target: {fileID: 4788729921527788, guid: e9a4f67b7f329ca4abf5de824f66db82, type: 3}
propertyPath: m_LocalScale.x
value: 1.3182
objectReference: {fileID: 0}
- target: {fileID: 4788729921527788, guid: e9a4f67b7f329ca4abf5de824f66db82, type: 3}
propertyPath: m_LocalScale.y
value: 1.3182
objectReference: {fileID: 0}
- target: {fileID: 4788729921527788, guid: e9a4f67b7f329ca4abf5de824f66db82, type: 3}
propertyPath: m_LocalScale.z
value: 1.3182
objectReference: {fileID: 0}
- target: {fileID: 4788729921527788, guid: e9a4f67b7f329ca4abf5de824f66db82, type: 3}
propertyPath: m_LocalPosition.x
value: 0.23
objectReference: {fileID: 0}
- target: {fileID: 4788729921527788, guid: e9a4f67b7f329ca4abf5de824f66db82, type: 3}
propertyPath: m_LocalPosition.y
value: -0.66499704
value: -0.85381
objectReference: {fileID: 0}
- target: {fileID: 4788729921527788, guid: e9a4f67b7f329ca4abf5de824f66db82, type: 3}
propertyPath: m_LocalPosition.z
......
......@@ -193,7 +193,7 @@ Material:
- _XRMotionVectorsPass: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 0.5377358, g: 0.5377358, b: 0.5377358, a: 1}
- _BaseColor: {r: 0.62352943, g: 0.62352943, b: 0.62352943, a: 0.8352941}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _ColorDim: {r: 0.3490566, g: 0.3490566, b: 0.3490566, a: 0.85056}
- _ColorDimCurve: {r: 0.21698111, g: 0.21698111, b: 0.21698111, a: 0.85056}
......
fileFormatVersion: 2
guid: 30487d9737d77386b9c551986c528ebb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 4bdea37bc3bdb6bf49f77065b8a15376
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 4295ade796f65ddac8f070e8fddcb347
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 509a488db5b3c2eddb633e86bcb5c12c
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: c0e0d2f315c14608eb08741fe5f55a1d
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 8067fa6881479862782460be69fa2a01
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: cb4804de8b4040085887bc95572b01c5
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: f28bc95b0eb4d15169412171b5f884ec
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: d7b054e9e1118f1639d0bc6e684737c6
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 6948bdad23e0a0b75953515c5feb5323
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 1137cc434209c9f1f97b943755d641ce
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: d3fd71bbbc561f04585d83e721169013
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 93eb2e4335a56fff59a2cd74d02d7ad3
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 6f0b59c15f55cf15d9156d7f012c2e4f
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 35e247fe8003f9730a5afdc547918e69
AudioImporter:
externalObjects: {}
serializedVersion: 8
defaultSettings:
serializedVersion: 2
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
preloadAudioData: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:
......@@ -242,15 +242,20 @@ MonoBehaviour:
botSpawnRotation: {x: 0, y: 0, z: 0, w: 1}
wordCardPrefab: {fileID: 0}
canvasPrefab: {fileID: 249334219982178084, guid: 7bf4e5fc80f16adce9831f65a7306829, type: 3}
sfxCorrect: {fileID: 0}
sfxWrong: {fileID: 0}
sfxClick: {fileID: 0}
sfxVictory: {fileID: 0}
sfxDefeat: {fileID: 0}
sfxWhoosh: {fileID: 0}
sfxPop: {fileID: 0}
sfxSlam: {fileID: 0}
sfxCheer: {fileID: 0}
startTime: 30
correctAnswerBonusTime: 3
wrongAnswerPenaltyTime: 2
sfxCorrect: {fileID: 8300000, guid: 8067fa6881479862782460be69fa2a01, type: 3}
sfxWrong: {fileID: 8300000, guid: f28bc95b0eb4d15169412171b5f884ec, type: 3}
sfxClick: {fileID: 8300000, guid: 6f0b59c15f55cf15d9156d7f012c2e4f, type: 3}
sfxVictory: {fileID: 8300000, guid: 1137cc434209c9f1f97b943755d641ce, type: 3}
sfxDefeat: {fileID: 8300000, guid: d7b054e9e1118f1639d0bc6e684737c6, type: 3}
sfxWhoosh: {fileID: 8300000, guid: 93eb2e4335a56fff59a2cd74d02d7ad3, type: 3}
sfxPop: {fileID: 8300000, guid: 6f0b59c15f55cf15d9156d7f012c2e4f, type: 3}
sfxSlam: {fileID: 8300000, guid: c0e0d2f315c14608eb08741fe5f55a1d, type: 3}
sfxCheer: {fileID: 8300000, guid: 4295ade796f65ddac8f070e8fddcb347, type: 3}
music: {fileID: 8300000, guid: 35e247fe8003f9730a5afdc547918e69, type: 3}
tickingLoop: {fileID: 8300000, guid: 4bdea37bc3bdb6bf49f77065b8a15376, type: 3}
correctBurstParticle: {fileID: 1449242181322416604, guid: 052d5f6cf7d3ebc44bba49fbe653f9a8, type: 3}
wrongBurstParticle: {fileID: 570832250925526149, guid: dcd90c4976197424b9958a7c54b6bb8c, type: 3}
confettiParticle: {fileID: 4938095755617958530, guid: 2e79f16be10fbd14f8d5ef191f8db4aa, type: 3}
......@@ -266,21 +271,25 @@ MonoBehaviour:
classCode:
wordSprite: {fileID: 21300000, guid: b94ad4425888548039a8c69d289a39d6, type: 3}
useOfflineTestData: 0
--- !u!4 &1145369048
Transform:
--- !u!224 &1145369048
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1145369046}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 3.99733, y: 0, z: 0.65379}
m_LocalPosition: {x: 0, y: 0, z: 0.65379}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 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: 3.99733, y: 0}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1145369049
MonoBehaviour:
m_ObjectHideFlags: 0
......@@ -361,7 +370,7 @@ Camera:
far clip plane: 1000
field of view: 60
orthographic: 1
orthographic size: 5
orthographic size: 6
m_Depth: -1
m_CullingMask:
serializedVersion: 2
......@@ -441,5 +450,5 @@ SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 1677846867}
- {fileID: 1145369048}
- {fileID: 878368485}
- {fileID: 1145369048}
using System.Collections;
using DG.Tweening;
using UnityEngine;
namespace com.al_arcade.cs
......@@ -18,22 +19,35 @@ namespace com.al_arcade.cs
[SerializeField][ColorUsage(true, true)] private Color happyCornea;
[SerializeField][ColorUsage(true, true)] private Color sadCornea;
[Header("Robot Material")]
[SerializeField] private Color neutralRobot;
[SerializeField] private Color happyRobot;
[SerializeField] private Color sadRobot;
[SerializeField] private Material robotMaterial;
[SerializeField] private Material eyeMaterial;
[SerializeField] private Material corneaMaterial;
[SerializeField] private float eyeBackToNeutralDelay = 0.8f;
[SerializeField] private float sizeChanagePerQuestion = 0.1f;
[SerializeField] private float sizeChangeDuration = 0.5f;
private Vector3 _initialPosition;
private Quaternion _initialRotation;
private float _initialScale;
private Transform _robotTransform;
private void Awake()
{
_initialPosition = transform.position;
_initialRotation = transform.rotation;
_initialScale = transform.GetChild(0).transform.localScale.x;
_robotTransform = transform.GetChild(0);
eyeMaterial.color = neutral;
corneaMaterial.SetColor("_EmissionColor", neutralGlowCornea);
robotMaterial.color = neutralRobot;
}
public void PlayHappy()
......@@ -52,6 +66,8 @@ namespace com.al_arcade.cs
corneaMaterial.SetColor("_EmissionColor", neutralGlowCornea);
}));
UpdateRobotColor(true);
AnimateSizeChange(true);
}
public void PlaySad()
......@@ -70,6 +86,8 @@ namespace com.al_arcade.cs
corneaMaterial.SetColor("_EmissionColor", neutralGlowCornea);
}));
UpdateRobotColor(false);
AnimateSizeChange(false);
}
public void PlayVictoryDance()
......@@ -89,6 +107,13 @@ namespace com.al_arcade.cs
// }
}
private void AnimateSizeChange(bool pos)
{
var targetScale = _robotTransform.localScale.x + (pos ? 1 : -1) * sizeChanagePerQuestion;
targetScale = Mathf.Clamp(targetScale, _initialScale, _initialScale + sizeChanagePerQuestion * 6);
_robotTransform.DOScale(targetScale, sizeChangeDuration).SetEase(Ease.OutElastic);
}
public void ResetBot()
{
transform.position = _initialPosition;
......@@ -102,6 +127,15 @@ namespace com.al_arcade.cs
}
}
private void UpdateRobotColor(bool isPositive)
{
var targetColor = isPositive ? happyRobot : sadRobot;
robotMaterial.DOColor(targetColor, sizeChangeDuration).SetEase(Ease.OutQuad).OnComplete(() =>
{
robotMaterial.DOColor(neutralRobot, sizeChangeDuration).SetEase(Ease.OutQuad);
});
}
IEnumerator DelayedAction(float delay, System.Action action)
{
yield return new WaitForSeconds(delay);
......
......@@ -57,6 +57,10 @@ namespace com.al_arcade.cs
"If null, a procedural UI is created.")]
[SerializeField] private GameObject canvasPrefab;
[Header("Timer Settings")]
public int startTime = 30;
public int correctAnswerBonusTime = 3;
public int wrongAnswerPenaltyTime = 2;
[Header("Audio — SFX Clips (all optional)")]
[SerializeField] private AudioClip sfxCorrect;
......@@ -69,6 +73,9 @@ namespace com.al_arcade.cs
[SerializeField] private AudioClip sfxSlam;
[SerializeField] private AudioClip sfxCheer;
[Header("Music")]
[SerializeField] private AudioClip music;
[SerializeField] private AudioClip tickingLoop;
[Header("Particles (all optional)")]
[SerializeField] private ParticleSystem correctBurstParticle;
......@@ -266,6 +273,8 @@ namespace com.al_arcade.cs
if (sfxPop != null) audio.sfxPop = sfxPop;
if (sfxSlam != null) audio.sfxSlam = sfxSlam;
if (sfxCheer != null) audio.sfxCheer = sfxCheer;
if (music != null) audio.music = music;
if (tickingLoop != null) audio.tickingLoop = tickingLoop;
}
private void SetupParticleManager()
......
This diff is collapsed.
fileFormatVersion: 2
guid: 9bd25cba76dd4ccc2b2bc7449ee6acf6
\ No newline at end of file
......@@ -7,33 +7,60 @@ using ALArcade.ArabicTMP;
namespace com.al_arcade.cs
{
using System.Collections;
using System.Linq;
using LightSide;
using shared;
using Unity.VisualScripting;
public class CsUIManager : MonoBehaviour
{
[SerializeField] protected Canvas _canvas;
[SerializeField] protected CanvasGroup _gameUI, _loadingUI, _errorUI, _resultsUI;
[SerializeField] protected CanvasGroup _gameUI, _loadingUI, _errorUI, _resultsUI, _countDownGroup;
[SerializeField] protected CanvasGroup _optionsPanel, _feedbackGroup;
[SerializeField] protected UniText _progressText;
[SerializeField] protected UniText _hintText, _scoreText, _streakText;
[SerializeField] protected UniText _feedbackText;
[SerializeField] protected Image _feedbackBg, _progressFill;
[SerializeField] protected Image _feedbackBg, _timerFill;
[SerializeField] protected ArabicTextMeshProUGUI _loadingText, _errorText;
[SerializeField] protected UniText _resultTitle, _resultScore, _resultStats;
[SerializeField] protected UniText _resultTitle, _resultScore, _resultStats, _countDownText, _timerText, _timerUpdateText;
[SerializeField] protected Transform _optionsContainer;
[SerializeField] protected Button _restartButton;
[SerializeField] protected Slider _timerSlider;
[SerializeField] protected Transform _pointsContainer;
[SerializeField] protected Color _activePointColor, _inactivePointColor;
[SerializeField] protected RawImage _speaker;
[SerializeField] protected Transform _slash;
private Color _timerDefaultColor;
List<Image> _pointImages;
protected List<CsOptionDraggable> _activeOptions = new();
private Color _speakerColor;
private float timeLeft;
private bool isTweening;
private bool isMusicOn;
[Header("Events")]
public UnityEvent onRestartClicked;
void Start()
{
_restartButton.onClick.AddListener(() => CsGameManager.Instance.ResetGame());
_pointImages = _pointsContainer.GetComponentsInChildren<Image>().ToList();
_speakerColor = _speaker.color;
_timerDefaultColor = _timerFill.color;
_speaker.GetComponent<Button>().onClick.AddListener(ToggleMusic);
_restartButton.onClick.AddListener(() =>
{
CsGameManager.Instance.ResetGame();
CsGameManager.Instance.StartGame();
});
}
public virtual void BuildUI()
......@@ -298,12 +325,12 @@ namespace com.al_arcade.cs
public void SetProgress(int current, int total)
{
if (_progressText != null) _progressText.Text = $"{current} / {total}";
if (_progressFill != null && total > 0)
{
DOTween.Kill(_progressFill.rectTransform, "pFill");
_progressFill.rectTransform.DOAnchorMax(new Vector2((float)current / total, 1f), 0.5f)
.SetEase(Ease.OutQuad).SetId("pFill");
}
// if (_progressFill != null && total > 0)
// {
// DOTween.Kill(_progressFill.rectTransform, "pFill");
// _progressFill.rectTransform.DOAnchorMax(new Vector2((float)current / total, 1f), 0.5f)
// .SetEase(Ease.OutQuad).SetId("pFill");
// }
}
public void ShowHint(string hint)
......@@ -311,10 +338,17 @@ namespace com.al_arcade.cs
if (_hintText == null) return;
_hintText.Text = hint;
DOTween.Kill(_hintText, "hintFade");
// _hintText.alp = 0;
_hintText.rectTransform.DOPunchScale(Vector3.one * 0.1f, 0.4f, 6, 0.3f).SetId("hintFade");
_hintText.DOFade(1, 0.4f).SetId("hintFade");
}
public void HideHint()
{
if (_hintText == null) return;
DOTween.Kill(_hintText, "hintFade");
_hintText.DOFade(0, 0.3f).SetId("hintFade");
}
public void ShowFeedback(string message, bool isCorrect)
{
if (_feedbackText != null) _feedbackText.Text = message;
......@@ -403,14 +437,38 @@ namespace com.al_arcade.cs
public void ShowError(string msg)
{ _errorUI.gameObject.SetActive(true); if (_errorText != null) _errorText.arabicText = msg; _errorUI.DOFade(1f, 0.3f); }
public void ShowResults(int score, int correct, int wrong, int total, int bestStreak)
public IEnumerator ShowCountDown()
{
_countDownGroup.gameObject.SetActive(true);
_countDownGroup.DOFade(1f, 0.3f);
int count = 3;
while (count > 0)
{
SSAudioManager.Instance.PlayPop();
_countDownText.transform.DOScale(1f, 0.2f).From(0).SetEase(Ease.OutBack);
_countDownText.Text = count.ToString();
yield return new WaitForSeconds(1f);
count--;
}
SSAudioManager.Instance.PlayPop();
_countDownText.transform.DOScale(1f, 0.2f).From(0).SetEase(Ease.OutBack);
_countDownText.Text = "ابدأ!";
yield return new WaitForSeconds(0.1f);
_countDownGroup.DOFade(0f, 0.3f).OnComplete(() => _countDownGroup.gameObject.SetActive(false));
}
public void ShowResults(int score, int correct, int wrong, int total, int bestStreak, bool win = true)
{
_resultsUI.gameObject.SetActive(true);
_resultsUI.alpha = 0;
float pct = total > 0 ? (float)correct / total * 100f : 0;
if (_resultTitle != null)
_resultTitle.Text = pct >= 70 ? "أحسنت!" : "عمل جيد!";
_resultTitle.Text = win ? pct >= 70 ? "أحسنت!" : "عمل جيد!" : "حظ اوفر";
if (_resultScore != null) _resultScore.Text = score.ToString("N0");
if (_resultStats != null)
_resultStats.Text = $"صحيح: {correct} / {total} | " +
......@@ -434,6 +492,40 @@ namespace com.al_arcade.cs
}
}
public void SetTimer(float time)
{
if (isTweening) return;
_timerSlider.value = time / 30f;
_timerFill.color = time > 4f ? _timerDefaultColor : SSColorPalette.Danger;
}
public void UpdateTimer(float time, bool pos)
{
isTweening = true;
var color = pos ? SSColorPalette.CorrectWord : SSColorPalette.Danger;
_timerSlider.transform.DOPunchScale(Vector3.one * 0.1f, 0.3f, 8, 0.3f);
_timerFill.DOColor(color, 0.2f).SetEase(Ease.OutQuad).OnComplete(() =>
{
_timerFill.DOColor(_timerDefaultColor, 0.2f).SetEase(Ease.OutQuad);
});
var targetTime = time;
// Account for tween time
if (!pos)
{
targetTime -= 0.3f;
}
_timerSlider.DOValue(targetTime / 30f, 0.3f).SetEase(Ease.OutQuad).OnComplete(() =>
{
isTweening = false;
});
}
public void ResetUI()
{
if (_gameUI != null) { _gameUI.alpha = 0; _gameUI.gameObject.SetActive(false); }
......@@ -442,9 +534,37 @@ namespace com.al_arcade.cs
if (_resultsUI != null) { _resultsUI.alpha = 0; _resultsUI.gameObject.SetActive(false); }
if (_optionsPanel != null) { _optionsPanel.alpha = 0; _optionsPanel.gameObject.SetActive(false); }
if (_feedbackGroup != null) _feedbackGroup.alpha = 0;
_timerSlider.value = 1f;
_timerFill.color = _timerDefaultColor;
ClearOptions();
}
public void TickPoints(int count)
{
for (int i = 0; i < _pointImages.Count; i++)
{
var img = _pointImages[i];
if (i < count)
{
img.color = _activePointColor;
img.transform.DOPunchScale(Vector3.one * 0.4f, 0.4f).SetEase(Ease.OutElastic).SetDelay(0.1f * i);
}
else
{
img.color = SSColorPalette.WithAlpha(_inactivePointColor, 0.3f);
img.transform.localScale = Vector3.one;
}
}
}
public void ToggleMusic()
{
isMusicOn = !isMusicOn;
if (isMusicOn) SSAudioManager.Instance.PlayMusic();
else SSAudioManager.Instance.StopMusic();
_slash.gameObject.SetActive(!isMusicOn);
}
protected GameObject MkFull(Transform p, string n)
{
......
......@@ -4,11 +4,10 @@ using DG.Tweening;
namespace com.al_arcade.cs
{
using System.Collections;
using LightSide;
using shared;
[RequireComponent(typeof(BoxCollider))]
[RequireComponent(typeof(BoxCollider2D))]
public class CsWordButton : MonoBehaviour
{
public string WordText { get; private set; }
......@@ -16,10 +15,9 @@ namespace com.al_arcade.cs
public int Index { get; private set; }
private GameObject _background;
// private Material _bgMaterial; // Removed shader material usage
private Canvas _canvas;
private UniText _uniText; // Assuming the class name is UniText in UniText namespace
private BoxCollider _collider;
private BoxCollider2D _collider;
private bool _isHighlighted;
private bool _isHovered;
private Sequence _idleAnim;
......@@ -27,6 +25,7 @@ namespace com.al_arcade.cs
private float _cardHeight = 0.8f;
private Image _backgroundImage;
private bool _interactable = true;
public void Setup(string text, bool isWrong, int index,
float cardWidth = -1f, float scaleFactor = 1f)
......@@ -34,17 +33,27 @@ namespace com.al_arcade.cs
WordText = text;
IsWrong = isWrong;
Index = index;
if (cardWidth <= 0)
_cardWidth = text.Length * 0.32f + 0.6f;
else
_cardWidth = cardWidth;
_cardWidth = Mathf.Max(_cardWidth, 0.8f);
BuildVisuals();
StartIdleAnimation();
//
//
// if (cardWidth <= 0)
// _cardWidth = text.Length * 0.32f + 0.6f;
// else
// _cardWidth = cardWidth;
//
// _cardWidth = Mathf.Max(_cardWidth, 0.8f);
//
// BuildVisuals();
//
Refrences();
// StartIdleAnimation();
}
private void Refrences()
{
_uniText = GetComponentInChildren<UniText>();
_backgroundImage = GetComponentInChildren<Image>();
_canvas = GetComponent<Canvas>();
_collider = GetComponent<BoxCollider2D>();
_collider.size = _backgroundImage.rectTransform.sizeDelta;
}
private void BuildVisuals()
......@@ -104,8 +113,8 @@ namespace com.al_arcade.cs
_uniText = Instantiate(CsPrefabBuilder.Instance.arabicTextPrefab, canvasObj.transform).GetComponent<UniText>();
_uniText.Text = WordText;
_collider = GetComponent<BoxCollider>();
_collider.size = new Vector3(_cardWidth, _cardHeight, 0.2f);
// _collider = GetComponent<BoxCollider>();
// _collider.size = new Vector3(_cardWidth, _cardHeight, 0.2f);
// var shadow = GameObject.CreatePrimitive(PrimitiveType.Cube);
......@@ -118,7 +127,7 @@ namespace com.al_arcade.cs
// new Material(shader) { color = new Color(0, 0, 0, 0.12f) };
}
private void StartIdleAnimation()
public void StartIdleAnimation()
{
KillTweens();
float baseY = transform.position.y;
......@@ -142,26 +151,21 @@ namespace com.al_arcade.cs
if (_backgroundImage != null) DOTween.Kill(_backgroundImage);
}
private void LateUpdate()
{
if (Camera.main == null) return;
Vector3 awayFromCam = transform.position - Camera.main.transform.position;
awayFromCam.y = 0;
if (awayFromCam.sqrMagnitude > 0.001f)
transform.rotation = Quaternion.LookRotation(awayFromCam);
}
private void OnMouseEnter()
{
if (!_interactable) return;
_isHovered = true;
_canvas.sortingOrder++;
UpdateVisuals();
}
private void OnMouseExit()
{
if (!_interactable) return;
_isHovered = false;
_canvas.sortingOrder--;
UpdateVisuals();
}
......@@ -183,7 +187,7 @@ namespace com.al_arcade.cs
_backgroundImage.DOColor(target, 0.2f).SetId("color");
}
float targetScale = _isHovered ? 1.1f : 1.0f;
float targetScale = _isHovered ? 0.023f : 0.02f;
transform.DOScale(Vector3.one * targetScale, 0.2f).SetEase(Ease.OutQuad).SetId("scale");
}
......@@ -199,7 +203,7 @@ namespace com.al_arcade.cs
_isHighlighted = true;
KillTweens();
UpdateVisuals();
transform.DOPunchScale(Vector3.one * 0.2f, 0.4f, 8, 0.3f);
transform.DOPunchScale(Vector3.one * 0.001f, 0.4f, 8, 0.3f);
}
public void Deselect()
......@@ -226,19 +230,25 @@ namespace com.al_arcade.cs
public void ReplaceText(string newText)
{
_interactable = false;
float padding = 5;
var rect = _uniText.GetComponent<RectTransform>();
rect.offsetMin = Vector2.one * padding;
rect.offsetMax = Vector2.one * -padding;
DOTween.Kill(transform, "replace");
var seq = DOTween.Sequence().SetId("replace");
seq.Append(transform.DOScale(Vector3.one * 0.5f, 0.2f).SetEase(Ease.InBack));
seq.Append(transform.DOScale(Vector3.one * 0.023f, 0.2f).SetEase(Ease.InBack));
seq.AppendCallback(() =>
{
if (_uniText != null) _uniText.Text = newText;
_uniText.Text = newText;
_uniText.AutoSize = true;
WordText = newText;
_isHighlighted = false;
DOTween.Kill(_backgroundImage, "color");
_backgroundImage.color = SSColorPalette.Success;
});
seq.Append(transform.DOScale(Vector3.one * 1.2f, 0.3f).SetEase(Ease.OutBack));
seq.Append(transform.DOScale(Vector3.one, 0.15f));
seq.Append(transform.DOScale(Vector3.one * 0.02f, 0.02f));
}
private void OnDestroy() => KillTweens();
......
......@@ -2,6 +2,7 @@
using UnityEngine;
using System.Collections.Generic;
using DG.Tweening;
namespace com.al_arcade.shared
{
......@@ -26,13 +27,21 @@ namespace com.al_arcade.shared
public AudioClip sfxCheer;
public AudioClip sfxCountdown;
public AudioClip music;
public AudioClip tickingLoop;
[Header("Settings")]
[Range(0f, 1f)] public float masterVolume = 1f;
public int audioSourcePoolSize = 8;
private List<AudioSource> _pool = new List<AudioSource>();
private AudioSource _musicSource;
private AudioSource _tickingSource;
private int _poolIndex = 0;
private bool _isMusicPlaying = false;
private void Awake()
{
if (Instance != null && Instance != this)
......@@ -55,6 +64,43 @@ namespace com.al_arcade.shared
return Instance;
}
public void PlayMusic()
{
if (_isMusicPlaying) return;
_isMusicPlaying = true;
if (music == null) return;
_musicSource.clip = music;
_musicSource.loop = true;
_musicSource.volume = masterVolume * 0.1f;
_musicSource.Play();
}
public void Tick(bool start)
{
if (start)
{
if (_tickingSource.isPlaying)
{
_tickingSource.Stop();
}
_tickingSource.clip = tickingLoop;
_tickingSource.Play();
}
else
{
_tickingSource.Stop();
}
}
public void StopMusic()
{
if (!_isMusicPlaying) return;
_isMusicPlaying = false;
_musicSource.DOFade(0f, 1f).OnComplete(() => _musicSource.Stop());
}
private void InitPool()
{
if (_pool.Count > 0) return;
......@@ -64,6 +110,9 @@ namespace com.al_arcade.shared
src.playOnAwake = false;
_pool.Add(src);
}
_musicSource = gameObject.AddComponent<AudioSource>();
_tickingSource = gameObject.AddComponent<AudioSource>();
}
private AudioSource GetSource()
......
fileFormatVersion: 2
guid: 6ac6eff6bac48b585a51a6cbe7358f29
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: bd68ffe0bbe45694f8fbc45ab3b6f75f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8424866670480754855
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8424866670480754854}
- component: {fileID: 8424866670480754872}
- component: {fileID: 8424866670480754873}
m_Layer: 0
m_Name: Icon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8424866670480754854
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8424866670480754855}
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: 8424866671560071328}
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: 61, y: 61}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8424866670480754872
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8424866670480754855}
m_CullTransparentMesh: 0
--- !u!114 &8424866670480754873
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8424866670480754855}
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.5849056, g: 0.5849056, b: 0.5849056, 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: 7ede9062b5509448881daee88d8cbdfc, 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 &8424866671560071329
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8424866671560071328}
- component: {fileID: 8424866671560071330}
- component: {fileID: 8424866671560071331}
m_Layer: 0
m_Name: BasicFrame_Circle_129_WhiteCustom
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8424866671560071328
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8424866671560071329}
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: 8424866670480754854}
m_Father: {fileID: 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: 129, y: 129}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8424866671560071330
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8424866671560071329}
m_CullTransparentMesh: 0
--- !u!114 &8424866671560071331
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8424866671560071329}
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: f345438ba89b946f6bca2f6f494931a4, 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
fileFormatVersion: 2
guid: 85dee25376bc997418352313d9888f3d
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3051885956887283564
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3051885956887283563}
- component: {fileID: 3051885956887283561}
- component: {fileID: 3051885956887283562}
m_Layer: 0
m_Name: Icon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3051885956887283563
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3051885956887283564}
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: 3051885957185318586}
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.000015258789, y: -0.000015258789}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3051885956887283561
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3051885956887283564}
m_CullTransparentMesh: 0
--- !u!114 &3051885956887283562
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3051885956887283564}
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: 86b2b4a7362e24d25be61c335165663d, 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 &3051885957185318587
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3051885957185318586}
- component: {fileID: 3051885957185318584}
- component: {fileID: 3051885957185318585}
m_Layer: 0
m_Name: BasicFrame_Circle_78_Common
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3051885957185318586
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3051885957185318587}
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: 3051885956887283563}
m_Father: {fileID: 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: 78, y: 78}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3051885957185318584
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3051885957185318587}
m_CullTransparentMesh: 0
--- !u!114 &3051885957185318585
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3051885957185318587}
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: 0501c6161f1db491eafa1714aec382d7, 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
fileFormatVersion: 2
guid: 25f3b2cf2f5650449990c026465ace45
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8183491590198762581
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8183491590198762922}
- component: {fileID: 8183491590198762920}
- component: {fileID: 8183491590198762923}
m_Layer: 0
m_Name: Icon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8183491590198762922
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183491590198762581}
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: 8183491591079737184}
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: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8183491590198762920
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183491590198762581}
m_CullTransparentMesh: 0
--- !u!114 &8183491590198762923
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183491590198762581}
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.027450982, g: 0.14509805, b: 0.21568629, 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: 68813275acedb4983bdec002efa38bbe, 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 &8183491591079737187
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8183491591079737184}
- component: {fileID: 8183491591079737190}
- component: {fileID: 8183491591079737185}
m_Layer: 0
m_Name: BasicFrame_Circle_80_LIght
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8183491591079737184
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183491591079737187}
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: 8183491590198762922}
m_Father: {fileID: 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: 80, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8183491591079737190
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183491591079737187}
m_CullTransparentMesh: 0
--- !u!114 &8183491591079737185
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183491591079737187}
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: 7c9f5e853664a4d898886e3784d1d665, 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
fileFormatVersion: 2
guid: ddd2019c5cb2e7e4d80707dc20a0c553
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 32e508a7793903c45883afde0a1d2762
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8792231548132720482
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8792231548132720481}
- component: {fileID: 8792231548132720495}
- component: {fileID: 8792231548132720480}
m_Layer: 0
m_Name: Text
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8792231548132720481
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231548132720482}
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: 8792231549206871880}
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: 7.0000067, y: 0}
m_SizeDelta: {x: 200, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8792231548132720495
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231548132720482}
m_CullTransparentMesh: 0
--- !u!114 &8792231548132720480
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231548132720482}
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: Text
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: dc2cc93475f76427c86a8262bee36b88, type: 2}
m_sharedMaterial: {fileID: 2269793554123077917, guid: dc2cc93475f76427c86a8262bee36b88,
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: 50
m_fontSizeBase: 50
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: -1
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: 1
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 &8792231549206871881
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8792231549206871880}
- component: {fileID: 8792231549206871926}
- component: {fileID: 8792231549206871927}
m_Layer: 0
m_Name: BasicFrame_Oval_108_WhiteCustom
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8792231549206871880
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231549206871881}
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: 8792231548132720481}
- {fileID: 8792231549333614725}
m_Father: {fileID: 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: 298.31143, y: 108}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8792231549206871926
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231549206871881}
m_CullTransparentMesh: 0
--- !u!114 &8792231549206871927
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231549206871881}
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: 0.57254905, b: 0.003921569, 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: 396c9d41e2c314696a9156b6c50c5034, type: 3}
m_Type: 1
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 &8792231549333614726
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8792231549333614725}
- component: {fileID: 8792231549333614723}
- component: {fileID: 8792231549333614724}
m_Layer: 0
m_Name: Icon
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &8792231549333614725
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231549333614726}
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: 8792231549206871880}
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: 68.1, y: 0}
m_SizeDelta: {x: 45, y: 51}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8792231549333614723
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231549333614726}
m_CullTransparentMesh: 0
--- !u!114 &8792231549333614724
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8792231549333614726}
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.9960785, g: 0.9960785, b: 0.9960785, 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: 542e7747006214d9480ef4dcf8d97026, 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
fileFormatVersion: 2
guid: 5c4a384037e120641a46e15fd3553d23
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2638057511953469165
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2638057511953477906}
- component: {fileID: 2638057511953477904}
- component: {fileID: 2638057511953477907}
m_Layer: 0
m_Name: 'Text '
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2638057511953477906
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2638057511953469165}
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: 2638057513232410189}
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: 200, y: 37.440292}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2638057511953477904
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2638057511953469165}
m_CullTransparentMesh: 0
--- !u!114 &2638057511953477907
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2638057511953469165}
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: Text
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: dc2cc93475f76427c86a8262bee36b88, type: 2}
m_sharedMaterial: {fileID: 2269793554123077917, guid: dc2cc93475f76427c86a8262bee36b88,
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: 30
m_fontSizeBase: 30
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
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: 1
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 &2638057513232410188
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2638057513232410189}
- component: {fileID: 2638057513232410227}
- component: {fileID: 2638057513232410226}
m_Layer: 0
m_Name: BasicFrame_Oval_48_WhiteCustom 1
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2638057513232410189
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2638057513232410188}
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: 2638057511953477906}
m_Father: {fileID: 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: 300, y: 48}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2638057513232410227
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2638057513232410188}
m_CullTransparentMesh: 0
--- !u!114 &2638057513232410226
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2638057513232410188}
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: 0.57254905, b: 0.003921569, 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: de2fae0ee6bb54993846a268a4792112, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 1
m_PixelsPerUnitMultiplier: 1
fileFormatVersion: 2
guid: aa09ecdf067651c4f93823f13077531c
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 108ed04aa5693d34da8fbb02f135cbc7
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: f382d94f0da7c4545af4502ffef8d0be
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment