Options Dialog refactor for more generic
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,107 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2709e321a53d2184e8016e035369997c
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 22200
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 2
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
removeConstantScaleCurves: 0
|
||||||
|
motionNodeName:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations: []
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importPhysicalCameras: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
nodeNameCollisionStrategy: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
bakeAxisConversion: 0
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
optimizeBones: 1
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVMarginMethod: 1
|
||||||
|
secondaryUVMinLightmapResolution: 40
|
||||||
|
secondaryUVMinObjectScale: 1
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
strictVertexDataChecks: 0
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||||
|
importBlendShapeDeformPercent: 1
|
||||||
|
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4083e180ef0192d4eb3296c479f2c0de
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -19,7 +19,8 @@ Material:
|
|||||||
m_CustomRenderQueue: -1
|
m_CustomRenderQueue: -1
|
||||||
stringTagMap:
|
stringTagMap:
|
||||||
RenderType: Opaque
|
RenderType: Opaque
|
||||||
disabledShaderPasses: []
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
m_LockedProperties:
|
m_LockedProperties:
|
||||||
m_SavedProperties:
|
m_SavedProperties:
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
@@ -82,6 +83,7 @@ Material:
|
|||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
m_Ints: []
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
- _AlphaClip: 0
|
- _AlphaClip: 0
|
||||||
- _AlphaToMask: 0
|
- _AlphaToMask: 0
|
||||||
- _Blend: 0
|
- _Blend: 0
|
||||||
@@ -120,6 +122,7 @@ Material:
|
|||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
|
- _SpecColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
--- !u!114 &5662825381254376294
|
--- !u!114 &5662825381254376294
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 11
|
m_ObjectHideFlags: 11
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ Material:
|
|||||||
m_Offset: {x: 0, y: 0}
|
m_Offset: {x: 0, y: 0}
|
||||||
m_Ints: []
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
- _AlphaClip: 0
|
- _AlphaClip: 0
|
||||||
- _AlphaToMask: 0
|
- _AlphaToMask: 0
|
||||||
- _Blend: 0
|
- _Blend: 0
|
||||||
@@ -129,8 +130,8 @@ Material:
|
|||||||
- _WorkflowMode: 1
|
- _WorkflowMode: 1
|
||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
- _BaseColor: {r: 0.21960786, g: 0.21960786, b: 0.21960786, a: 1}
|
||||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
- _Color: {r: 0.21960783, g: 0.21960783, b: 0.21960783, a: 1}
|
||||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 20e11845776b2c04681208efa7e8f17b
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,107 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9bd342097a69da64daea3e6f3814ad3e
|
||||||
|
ModelImporter:
|
||||||
|
serializedVersion: 22200
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
materials:
|
||||||
|
materialImportMode: 2
|
||||||
|
materialName: 0
|
||||||
|
materialSearch: 1
|
||||||
|
materialLocation: 1
|
||||||
|
animations:
|
||||||
|
legacyGenerateAnimations: 4
|
||||||
|
bakeSimulation: 0
|
||||||
|
resampleCurves: 1
|
||||||
|
optimizeGameObjects: 0
|
||||||
|
removeConstantScaleCurves: 0
|
||||||
|
motionNodeName:
|
||||||
|
animationImportErrors:
|
||||||
|
animationImportWarnings:
|
||||||
|
animationRetargetingWarnings:
|
||||||
|
animationDoRetargetingWarnings: 0
|
||||||
|
importAnimatedCustomProperties: 0
|
||||||
|
importConstraints: 0
|
||||||
|
animationCompression: 1
|
||||||
|
animationRotationError: 0.5
|
||||||
|
animationPositionError: 0.5
|
||||||
|
animationScaleError: 0.5
|
||||||
|
animationWrapMode: 0
|
||||||
|
extraExposedTransformPaths: []
|
||||||
|
extraUserProperties: []
|
||||||
|
clipAnimations: []
|
||||||
|
isReadable: 0
|
||||||
|
meshes:
|
||||||
|
lODScreenPercentages: []
|
||||||
|
globalScale: 1
|
||||||
|
meshCompression: 0
|
||||||
|
addColliders: 0
|
||||||
|
useSRGBMaterialColor: 1
|
||||||
|
sortHierarchyByName: 1
|
||||||
|
importPhysicalCameras: 1
|
||||||
|
importVisibility: 1
|
||||||
|
importBlendShapes: 1
|
||||||
|
importCameras: 1
|
||||||
|
importLights: 1
|
||||||
|
nodeNameCollisionStrategy: 1
|
||||||
|
fileIdsGeneration: 2
|
||||||
|
swapUVChannels: 0
|
||||||
|
generateSecondaryUV: 0
|
||||||
|
useFileUnits: 1
|
||||||
|
keepQuads: 0
|
||||||
|
weldVertices: 1
|
||||||
|
bakeAxisConversion: 0
|
||||||
|
preserveHierarchy: 0
|
||||||
|
skinWeightsMode: 0
|
||||||
|
maxBonesPerVertex: 4
|
||||||
|
minBoneWeight: 0.001
|
||||||
|
optimizeBones: 1
|
||||||
|
meshOptimizationFlags: -1
|
||||||
|
indexFormat: 0
|
||||||
|
secondaryUVAngleDistortion: 8
|
||||||
|
secondaryUVAreaDistortion: 15.000001
|
||||||
|
secondaryUVHardAngle: 88
|
||||||
|
secondaryUVMarginMethod: 1
|
||||||
|
secondaryUVMinLightmapResolution: 40
|
||||||
|
secondaryUVMinObjectScale: 1
|
||||||
|
secondaryUVPackMargin: 4
|
||||||
|
useFileScale: 1
|
||||||
|
strictVertexDataChecks: 0
|
||||||
|
tangentSpace:
|
||||||
|
normalSmoothAngle: 60
|
||||||
|
normalImportMode: 0
|
||||||
|
tangentImportMode: 3
|
||||||
|
normalCalculationMode: 4
|
||||||
|
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||||
|
blendShapeNormalImportMode: 1
|
||||||
|
normalSmoothingSource: 0
|
||||||
|
referencedClips: []
|
||||||
|
importAnimation: 1
|
||||||
|
humanDescription:
|
||||||
|
serializedVersion: 3
|
||||||
|
human: []
|
||||||
|
skeleton: []
|
||||||
|
armTwist: 0.5
|
||||||
|
foreArmTwist: 0.5
|
||||||
|
upperLegTwist: 0.5
|
||||||
|
legTwist: 0.5
|
||||||
|
armStretch: 0.05
|
||||||
|
legStretch: 0.05
|
||||||
|
feetSpacing: 0
|
||||||
|
globalScale: 1
|
||||||
|
rootMotionBoneName:
|
||||||
|
hasTranslationDoF: 0
|
||||||
|
hasExtraRoot: 0
|
||||||
|
skeletonHasParents: 1
|
||||||
|
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||||
|
autoGenerateAvatarMappingIfUnspecified: 1
|
||||||
|
animationType: 2
|
||||||
|
humanoidOversampling: 1
|
||||||
|
avatarSetup: 0
|
||||||
|
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||||
|
importBlendShapeDeformPercent: 1
|
||||||
|
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||||
|
additionalBone: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,142 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!114 &-953634261371453
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 11
|
||||||
|
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
version: 9
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: window
|
||||||
|
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords:
|
||||||
|
- _ALPHAPREMULTIPLY_ON
|
||||||
|
- _SURFACE_TYPE_TRANSPARENT
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 1
|
||||||
|
m_CustomRenderQueue: 3000
|
||||||
|
stringTagMap:
|
||||||
|
RenderType: Transparent
|
||||||
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
|
- DepthOnly
|
||||||
|
- SHADOWCASTER
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BaseMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _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: 0}
|
||||||
|
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}
|
||||||
|
- _SpecGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_Lightmaps:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_LightmapsInd:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_ShadowMasks:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
|
- _AlphaClip: 0
|
||||||
|
- _AlphaToMask: 0
|
||||||
|
- _Blend: 0
|
||||||
|
- _BlendModePreserveSpecular: 1
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ClearCoatMask: 0
|
||||||
|
- _ClearCoatSmoothness: 0
|
||||||
|
- _Cull: 0
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailAlbedoMapScale: 1
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 10
|
||||||
|
- _DstBlendAlpha: 10
|
||||||
|
- _EnvironmentReflections: 1
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 1
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 3
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _QueueOffset: 0
|
||||||
|
- _ReceiveShadows: 1
|
||||||
|
- _Smoothness: 1
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SrcBlendAlpha: 1
|
||||||
|
- _Surface: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _WorkflowMode: 1
|
||||||
|
- _ZWrite: 0
|
||||||
|
m_Colors:
|
||||||
|
- _BaseColor: {r: 0.9063317, g: 0.9063317, b: 0.9063317, a: 0.07352942}
|
||||||
|
- _Color: {r: 0.9063317, g: 0.9063317, b: 0.9063317, a: 0.07352942}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ba205028c7ac66643ad562673c41e358
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -55,7 +55,6 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 7952466374899613004}
|
- component: {fileID: 7952466374899613004}
|
||||||
- component: {fileID: 3764780206137042927}
|
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Selected
|
m_Name: Selected
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@@ -79,21 +78,6 @@ Transform:
|
|||||||
- {fileID: 8431406351439517098}
|
- {fileID: 8431406351439517098}
|
||||||
m_Father: {fileID: 662032107352504808}
|
m_Father: {fileID: 662032107352504808}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!114 &3764780206137042927
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 5280816860339018031}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 70ee3205d7b15b4449cdacc7a726e220, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
_selectedObject: {fileID: 5278860039823974021}
|
|
||||||
visualGameObjectArray:
|
|
||||||
- {fileID: 1167066362511717000}
|
|
||||||
--- !u!1 &5437460437420272161
|
--- !u!1 &5437460437420272161
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -136,6 +120,7 @@ GameObject:
|
|||||||
- component: {fileID: 662032107352504808}
|
- component: {fileID: 662032107352504808}
|
||||||
- component: {fileID: 3329916335696048154}
|
- component: {fileID: 3329916335696048154}
|
||||||
- component: {fileID: 5278860039823974021}
|
- component: {fileID: 5278860039823974021}
|
||||||
|
- component: {fileID: 113071787670326870}
|
||||||
m_Layer: 6
|
m_Layer: 6
|
||||||
m_Name: OfficeWorkerTable
|
m_Name: OfficeWorkerTable
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@@ -196,7 +181,21 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
_interactionPoint: {fileID: 2849715539346458925}
|
_interactionPoint: {fileID: 2849715539346458925}
|
||||||
_jobPositionsSO: {fileID: 11400000, guid: f0d3baaabf19f9a4a80e227316362d84, type: 2}
|
_dialogOptionsSO: {fileID: 0}
|
||||||
|
_dialogSO: {fileID: 11400000, guid: 8c330d22202c025408b0fcf250a57d15, type: 2}
|
||||||
|
--- !u!114 &113071787670326870
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 8759329460999808753}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 58e5a6d4728f393419100a54758a4e62, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
--- !u!1001 &3187777146008072678
|
--- !u!1001 &3187777146008072678
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -322,12 +321,6 @@ PrefabInstance:
|
|||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
m_AddedComponents: []
|
m_AddedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 7699f5af06713974ba61777a8a830f6e, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: 7699f5af06713974ba61777a8a830f6e, type: 3}
|
||||||
--- !u!1 &1167066362511717000 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 4327680794412319598, guid: 7699f5af06713974ba61777a8a830f6e,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 3187777146008072678}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!4 &8431406351439517098 stripped
|
--- !u!4 &8431406351439517098 stripped
|
||||||
Transform:
|
Transform:
|
||||||
m_CorrespondingSourceObject: {fileID: 6430890726198682700, guid: 7699f5af06713974ba61777a8a830f6e,
|
m_CorrespondingSourceObject: {fileID: 6430890726198682700, guid: 7699f5af06713974ba61777a8a830f6e,
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 8958716429631575486}
|
- component: {fileID: 8958716429631575486}
|
||||||
- component: {fileID: 3776407727599883163}
|
- component: {fileID: 4025874161359567020}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: JobSelectorUI
|
m_Name: DialogUI
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@@ -37,7 +37,7 @@ RectTransform:
|
|||||||
m_AnchoredPosition: {x: 0, y: 0}
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
m_SizeDelta: {x: 0, y: 0}
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &3776407727599883163
|
--- !u!114 &4025874161359567020
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -55,13 +55,9 @@ MonoBehaviour:
|
|||||||
_btnOk: {fileID: 8583321522316129160}
|
_btnOk: {fileID: 8583321522316129160}
|
||||||
_itemsContainer: {fileID: 3731607605728727607}
|
_itemsContainer: {fileID: 3731607605728727607}
|
||||||
_tabsContainer: {fileID: 1207846913041912348}
|
_tabsContainer: {fileID: 1207846913041912348}
|
||||||
_jobItemUItemplate: {fileID: 4899774397145829728, guid: 3fd1d54e5064a0841972b791abc6919f,
|
_jobItemUItemplate: {fileID: 0}
|
||||||
|
_dialogTabUI: {fileID: 5217370655548404981, guid: ea2a34492b0d3704cbec939efd66d26d,
|
||||||
type: 3}
|
type: 3}
|
||||||
_jobTabUItemplate: {fileID: 5217370655548404981, guid: ea2a34492b0d3704cbec939efd66d26d,
|
|
||||||
type: 3}
|
|
||||||
_jobs:
|
|
||||||
- {fileID: 11400000, guid: 137a0a77aa02f614ead909f23a670e95, type: 2}
|
|
||||||
- {fileID: 11400000, guid: f0d3baaabf19f9a4a80e227316362d84, type: 2}
|
|
||||||
--- !u!1 &2383697791284729918
|
--- !u!1 &2383697791284729918
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -170,15 +166,17 @@ MonoBehaviour:
|
|||||||
m_lineSpacingMax: 0
|
m_lineSpacingMax: 0
|
||||||
m_paragraphSpacing: 0
|
m_paragraphSpacing: 0
|
||||||
m_charWidthMaxAdj: 0
|
m_charWidthMaxAdj: 0
|
||||||
m_enableWordWrapping: 1
|
m_TextWrappingMode: 1
|
||||||
m_wordWrappingRatios: 0.4
|
m_wordWrappingRatios: 0.4
|
||||||
m_overflowMode: 0
|
m_overflowMode: 0
|
||||||
m_linkedTextComponent: {fileID: 0}
|
m_linkedTextComponent: {fileID: 0}
|
||||||
parentLinkedComponent: {fileID: 0}
|
parentLinkedComponent: {fileID: 0}
|
||||||
m_enableKerning: 1
|
m_enableKerning: 1
|
||||||
|
m_ActiveFontFeatures: 6e72656b
|
||||||
m_enableExtraPadding: 0
|
m_enableExtraPadding: 0
|
||||||
checkPaddingRequired: 0
|
checkPaddingRequired: 0
|
||||||
m_isRichText: 1
|
m_isRichText: 1
|
||||||
|
m_EmojiFallbackSupport: 1
|
||||||
m_parseCtrlCharacters: 1
|
m_parseCtrlCharacters: 1
|
||||||
m_isOrthographic: 1
|
m_isOrthographic: 1
|
||||||
m_isCullingEnabled: 0
|
m_isCullingEnabled: 0
|
||||||
@@ -349,15 +347,17 @@ MonoBehaviour:
|
|||||||
m_lineSpacingMax: 0
|
m_lineSpacingMax: 0
|
||||||
m_paragraphSpacing: 0
|
m_paragraphSpacing: 0
|
||||||
m_charWidthMaxAdj: 0
|
m_charWidthMaxAdj: 0
|
||||||
m_enableWordWrapping: 1
|
m_TextWrappingMode: 1
|
||||||
m_wordWrappingRatios: 0.4
|
m_wordWrappingRatios: 0.4
|
||||||
m_overflowMode: 0
|
m_overflowMode: 0
|
||||||
m_linkedTextComponent: {fileID: 0}
|
m_linkedTextComponent: {fileID: 0}
|
||||||
parentLinkedComponent: {fileID: 0}
|
parentLinkedComponent: {fileID: 0}
|
||||||
m_enableKerning: 1
|
m_enableKerning: 1
|
||||||
|
m_ActiveFontFeatures: 6e72656b
|
||||||
m_enableExtraPadding: 0
|
m_enableExtraPadding: 0
|
||||||
checkPaddingRequired: 0
|
checkPaddingRequired: 0
|
||||||
m_isRichText: 1
|
m_isRichText: 1
|
||||||
|
m_EmojiFallbackSupport: 1
|
||||||
m_parseCtrlCharacters: 1
|
m_parseCtrlCharacters: 1
|
||||||
m_isOrthographic: 1
|
m_isOrthographic: 1
|
||||||
m_isCullingEnabled: 0
|
m_isCullingEnabled: 0
|
||||||
@@ -838,6 +838,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_fontSizeBase
|
propertyPath: m_fontSizeBase
|
||||||
value: 24
|
value: 24
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3806516703089782040, guid: ea47665625ccfd4408f6411caf45f910,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: 'm_ActiveFontFeatures.Array.data[0]'
|
||||||
|
value: 1801810542
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3806516703089782041, guid: ea47665625ccfd4408f6411caf45f910,
|
- target: {fileID: 3806516703089782041, guid: ea47665625ccfd4408f6411caf45f910,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
@@ -1173,6 +1178,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_fontSizeBase
|
propertyPath: m_fontSizeBase
|
||||||
value: 24
|
value: 24
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 3806516703089782040, guid: ea47665625ccfd4408f6411caf45f910,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: 'm_ActiveFontFeatures.Array.data[0]'
|
||||||
|
value: 1801810542
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 3806516703089782041, guid: ea47665625ccfd4408f6411caf45f910,
|
- target: {fileID: 3806516703089782041, guid: ea47665625ccfd4408f6411caf45f910,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
@@ -1685,9 +1685,9 @@ RectTransform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 349281313}
|
m_Father: {fileID: 349281313}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
m_AnchorMin: {x: 0, y: 1}
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
m_AnchorMax: {x: 0, y: 1}
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
m_AnchoredPosition: {x: 250, y: -90}
|
m_AnchoredPosition: {x: 250, y: 0}
|
||||||
m_SizeDelta: {x: 480, y: 0}
|
m_SizeDelta: {x: 480, y: 0}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &249161732
|
--- !u!114 &249161732
|
||||||
@@ -1879,7 +1879,8 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
_timeSliderPrefab: {fileID: 5407876737168081677, guid: 15f8d2a34d602b04c9694f4eea8948d3,
|
_timeSliderPrefab: {fileID: 5407876737168081677, guid: 15f8d2a34d602b04c9694f4eea8948d3,
|
||||||
type: 3}
|
type: 3}
|
||||||
_jobSelectorPrefab: {fileID: 0}
|
_DialogUIPrefab: {fileID: 4025874161359567020, guid: 2ad5edd099127044684eeca456ed3d00,
|
||||||
|
type: 3}
|
||||||
_blurOverlay: {fileID: 661798880}
|
_blurOverlay: {fileID: 661798880}
|
||||||
_radialMenuItemPrefab: {fileID: 5424962769672562944, guid: 543443cf1b9e73b4193a13044eda04d2,
|
_radialMenuItemPrefab: {fileID: 5424962769672562944, guid: 543443cf1b9e73b4193a13044eda04d2,
|
||||||
type: 3}
|
type: 3}
|
||||||
@@ -4240,6 +4241,74 @@ Camera:
|
|||||||
m_OcclusionCulling: 1
|
m_OcclusionCulling: 1
|
||||||
m_StereoConvergence: 10
|
m_StereoConvergence: 10
|
||||||
m_StereoSeparation: 0.022
|
m_StereoSeparation: 0.022
|
||||||
|
--- !u!1001 &764085430
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 144.52164
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 6.3500004
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 239.38367
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: -0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 662032107352504808, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8759329460999808753, guid: 7df4c91b7961f794da5a651e64cc8ac5,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: OfficeWorkerTable
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 7df4c91b7961f794da5a651e64cc8ac5, type: 3}
|
||||||
--- !u!1 &780261547
|
--- !u!1 &780261547
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -8688,3 +8757,4 @@ SceneRoots:
|
|||||||
- {fileID: 1880854723}
|
- {fileID: 1880854723}
|
||||||
- {fileID: 495189437}
|
- {fileID: 495189437}
|
||||||
- {fileID: 1291994925}
|
- {fileID: 1291994925}
|
||||||
|
- {fileID: 764085430}
|
||||||
|
|||||||
+92
-83
@@ -469,6 +469,74 @@ Transform:
|
|||||||
type: 3}
|
type: 3}
|
||||||
m_PrefabInstance: {fileID: 130749353}
|
m_PrefabInstance: {fileID: 130749353}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
--- !u!1001 &202296544
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 3.37
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0.84
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: -2.38
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 0.50008726
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: -0.49991274
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0.50008726
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0.49991274
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: -89.98
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 90
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: 9bd342097a69da64daea3e6f3814ad3e,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: desk (1)
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: 9bd342097a69da64daea3e6f3814ad3e, type: 3}
|
||||||
--- !u!1001 &385599245
|
--- !u!1001 &385599245
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -723,7 +791,7 @@ PrefabInstance:
|
|||||||
- target: {fileID: -8679921383154817045, guid: 094143b068357224fabf0fa92fee31cb,
|
- target: {fileID: -8679921383154817045, guid: 094143b068357224fabf0fa92fee31cb,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: -1.620001
|
value: -2.19
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: -8679921383154817045, guid: 094143b068357224fabf0fa92fee31cb,
|
- target: {fileID: -8679921383154817045, guid: 094143b068357224fabf0fa92fee31cb,
|
||||||
type: 3}
|
type: 3}
|
||||||
@@ -1080,6 +1148,11 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -7511558181221131132, guid: 780942ce2a0781847a785cc2a6542524,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: 'm_Materials.Array.data[2]'
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: 2100000, guid: ba205028c7ac66643ad562673c41e358, type: 2}
|
||||||
- target: {fileID: 919132149155446097, guid: 780942ce2a0781847a785cc2a6542524,
|
- target: {fileID: 919132149155446097, guid: 780942ce2a0781847a785cc2a6542524,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
@@ -1233,11 +1306,27 @@ PrefabInstance:
|
|||||||
propertyPath: m_LocalEulerAnglesHint.z
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -7511558181221131132, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_CastShadows
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -7511558181221131132, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: 'm_Materials.Array.data[0]'
|
||||||
|
value:
|
||||||
|
objectReference: {fileID: -206713309220777044, guid: f85c42ebe35945e4986cba3418681f3e,
|
||||||
|
type: 3}
|
||||||
- target: {fileID: 919132149155446097, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
- target: {fileID: 919132149155446097, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
||||||
type: 3}
|
type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: FlatWall (40)
|
value: FlatWall (40)
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_StaticEditorFlags
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
@@ -1613,7 +1702,7 @@ Transform:
|
|||||||
m_GameObject: {fileID: 904172955}
|
m_GameObject: {fileID: 904172955}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
|
||||||
m_LocalPosition: {x: 3.19, y: 2.599, z: -1.93}
|
m_LocalPosition: {x: 3.19, y: 2.592, z: -1.93}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children: []
|
m_Children: []
|
||||||
@@ -1908,7 +1997,6 @@ Transform:
|
|||||||
- {fileID: 754702662}
|
- {fileID: 754702662}
|
||||||
- {fileID: 570611633}
|
- {fileID: 570611633}
|
||||||
- {fileID: 695816893}
|
- {fileID: 695816893}
|
||||||
- {fileID: 1287806106}
|
|
||||||
- {fileID: 1880886690}
|
- {fileID: 1880886690}
|
||||||
- {fileID: 1779294544}
|
- {fileID: 1779294544}
|
||||||
- {fileID: 904303565}
|
- {fileID: 904303565}
|
||||||
@@ -2467,86 +2555,6 @@ Transform:
|
|||||||
type: 3}
|
type: 3}
|
||||||
m_PrefabInstance: {fileID: 1285327579}
|
m_PrefabInstance: {fileID: 1285327579}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!1001 &1287806105
|
|
||||||
PrefabInstance:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
serializedVersion: 3
|
|
||||||
m_TransformParent: {fileID: 966157588}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 0.46
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 1.3310469
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 0.059999943
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 0.7072302
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: -0.7069834
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: -0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: -0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.x
|
|
||||||
value: -89.98
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_LocalEulerAnglesHint.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: -7511558181221131132, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: 'm_Materials.Array.data[0]'
|
|
||||||
value:
|
|
||||||
objectReference: {fileID: -206713309220777044, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
- target: {fileID: 919132149155446097, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
propertyPath: m_Name
|
|
||||||
value: FlatWall (41)
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_RemovedGameObjects: []
|
|
||||||
m_AddedGameObjects: []
|
|
||||||
m_AddedComponents: []
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 0c8bb8ae79767d54cb8f825f82322c06, type: 3}
|
|
||||||
--- !u!4 &1287806106 stripped
|
|
||||||
Transform:
|
|
||||||
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 0c8bb8ae79767d54cb8f825f82322c06,
|
|
||||||
type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 1287806105}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!1001 &1318414708
|
--- !u!1001 &1318414708
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -4778,3 +4786,4 @@ SceneRoots:
|
|||||||
- {fileID: 456606824}
|
- {fileID: 456606824}
|
||||||
- {fileID: 1322861160939933662}
|
- {fileID: 1322861160939933662}
|
||||||
- {fileID: 2018736431}
|
- {fileID: 2018736431}
|
||||||
|
- {fileID: 202296544}
|
||||||
|
|||||||
@@ -3,8 +3,9 @@ using UnityEngine;
|
|||||||
public class OfficeTable : BaseInteractableObject
|
public class OfficeTable : BaseInteractableObject
|
||||||
{
|
{
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private JobsListSO _jobPositionsSO;
|
private DialogCategorySO _dialogOptionsSO;
|
||||||
|
[SerializeField]
|
||||||
|
private DialogSO _dialogSO;
|
||||||
protected override void PrepareMenuActions()
|
protected override void PrepareMenuActions()
|
||||||
{
|
{
|
||||||
_menuActions[RadialMenuActions.Talk].IsEnabled = true;
|
_menuActions[RadialMenuActions.Talk].IsEnabled = true;
|
||||||
@@ -12,7 +13,7 @@ public class OfficeTable : BaseInteractableObject
|
|||||||
|
|
||||||
protected override void InteractAction(RadialMenuActions interactAction)
|
protected override void InteractAction(RadialMenuActions interactAction)
|
||||||
{
|
{
|
||||||
GameManager.Instance.UI.ShowJobSelectionDialog("Job agency", null, OnConfirm);
|
GameManager.Instance.UI.ShowTabObtionsDialog(_dialogSO, null, OnConfirm);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnConfirm(JobInfoSO selectedJob)
|
private void OnConfirm(JobInfoSO selectedJob)
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
using Assets.Scripts.Interfaces;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class SecretaryDesk : BaseInteractableObject
|
||||||
|
{
|
||||||
|
[SerializeField]
|
||||||
|
private DialogSO _dialogSO;
|
||||||
|
[SerializeField]
|
||||||
|
private DialogCategorySO _dialogOptionsSO;
|
||||||
|
|
||||||
|
protected override void PrepareMenuActions()
|
||||||
|
{
|
||||||
|
_menuActions[RadialMenuActions.Talk].IsEnabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void InteractAction(RadialMenuActions interactAction)
|
||||||
|
{
|
||||||
|
GameManager.Instance.UI.ShowTabObtionsDialog(_dialogSO, null, OnConfirm);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnConfirm(IDialogOption selectedOption)
|
||||||
|
{
|
||||||
|
//_player.JobPosition = (selectedOption as EducationInfoSO).JobPosition;
|
||||||
|
print($"player selected position is {_player.JobPosition}");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 05e7f5c95d24c174ba832e4264e9d224
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Assets.Scripts.Interfaces
|
||||||
|
{
|
||||||
|
public interface IDialogItemUI
|
||||||
|
{
|
||||||
|
void SetItem(DialogOptionsUI parent, IDialogOption item);
|
||||||
|
}
|
||||||
|
public class IDialogOption: ScriptableObject
|
||||||
|
{
|
||||||
|
public Sprite Icon;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d84ba9398a2968044a2323f3fe5c241a
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using Assets.Scripts.Interfaces;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
[CreateAssetMenu()]
|
||||||
|
public class DialogCategorySO : ScriptableObject
|
||||||
|
{
|
||||||
|
public string Title;
|
||||||
|
public Sprite Icon;
|
||||||
|
public List<IDialogOption> OptionsList;
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using Assets.Scripts.Interfaces;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
[CreateAssetMenu()]
|
||||||
|
public class DialogSO : ScriptableObject
|
||||||
|
{
|
||||||
|
public string Title;
|
||||||
|
public MonoBehaviour UITemplate;
|
||||||
|
public List<DialogCategorySO> CategoriesSO;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bf7ee1c503cbe524b8a52dc86566b3b6
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
using Assets.Scripts.Interfaces;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
[CreateAssetMenu()]
|
||||||
|
public class EducationInfoSO : IDialogOption
|
||||||
|
{
|
||||||
|
public string Description;
|
||||||
|
public float Price;
|
||||||
|
public EducationSkill Skill;
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3ba71c02cddb93d408c7c1b2f9846099
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using Assets.Scripts.Interfaces;
|
||||||
|
|
||||||
[CreateAssetMenu()]
|
[CreateAssetMenu()]
|
||||||
public class JobInfoSO : ScriptableObject
|
public class JobInfoSO : IDialogOption
|
||||||
{
|
{
|
||||||
public string Description;
|
public string Description;
|
||||||
public float Salary;
|
public float Salary;
|
||||||
public Sprite Icon;
|
|
||||||
public JobPositions JobPosition;
|
public JobPositions JobPosition;
|
||||||
public EducationSkill MinimumEducationSkill;
|
public EducationSkill MinimumEducationSkill;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 5e5ea608dd4175941b878e8e1a585970, type: 3}
|
m_Script: {fileID: 11500000, guid: 5e5ea608dd4175941b878e8e1a585970, type: 3}
|
||||||
m_Name: Clerk
|
m_Name: Clerk
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
Icon: {fileID: 0}
|
||||||
Description: Clerk
|
Description: Clerk
|
||||||
Salary: 5
|
Salary: 5
|
||||||
Icon: {fileID: 0}
|
JobPosition: 0
|
||||||
JobPosition: 2
|
MinimumEducationSkill: 0
|
||||||
MinimumEducationSkill: 1
|
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
%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: bf7ee1c503cbe524b8a52dc86566b3b6, type: 3}
|
||||||
|
m_Name: JobAgency
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
Title: Job Agency
|
||||||
|
UITemplate: {fileID: 4899774397145829728, guid: 3fd1d54e5064a0841972b791abc6919f,
|
||||||
|
type: 3}
|
||||||
|
CategoriesSO:
|
||||||
|
- {fileID: 11400000, guid: 137a0a77aa02f614ead909f23a670e95, type: 2}
|
||||||
|
- {fileID: 11400000, guid: f0d3baaabf19f9a4a80e227316362d84, type: 2}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8c330d22202c025408b0fcf250a57d15
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -12,8 +12,8 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 5e5ea608dd4175941b878e8e1a585970, type: 3}
|
m_Script: {fileID: 11500000, guid: 5e5ea608dd4175941b878e8e1a585970, type: 3}
|
||||||
m_Name: Manager
|
m_Name: Manager
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
Icon: {fileID: 0}
|
||||||
Description: Manager
|
Description: Manager
|
||||||
Salary: 9
|
Salary: 9
|
||||||
Icon: {fileID: 0}
|
JobPosition: 0
|
||||||
JobPosition: 4
|
MinimumEducationSkill: 0
|
||||||
MinimumEducationSkill: 3
|
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 5e5ea608dd4175941b878e8e1a585970, type: 3}
|
m_Script: {fileID: 11500000, guid: 5e5ea608dd4175941b878e8e1a585970, type: 3}
|
||||||
m_Name: ManagerAssistant
|
m_Name: ManagerAssistant
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
|
Icon: {fileID: 0}
|
||||||
Description: Manager assistaint
|
Description: Manager assistaint
|
||||||
Salary: 6
|
Salary: 6
|
||||||
Icon: {fileID: 0}
|
JobPosition: 0
|
||||||
JobPosition: 3
|
MinimumEducationSkill: 0
|
||||||
MinimumEducationSkill: 2
|
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: f667daa0686227b49a9ca2ebd6326a98, type: 3}
|
m_Script: {fileID: 11500000, guid: f667daa0686227b49a9ca2ebd6326a98, type: 3}
|
||||||
m_Name: Minimarket
|
m_Name: Minimarket
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Place: Shop
|
Title: Mini market
|
||||||
Icon: {fileID: 21300000, guid: c5e761867408abd48bdbfcc36c949f44, type: 3}
|
Icon: {fileID: 21300000, guid: c5e761867408abd48bdbfcc36c949f44, type: 3}
|
||||||
JobPositionsList:
|
OptionsList:
|
||||||
- {fileID: 11400000, guid: c7452dc6dfb2cc040a6d0e543db6b671, type: 2}
|
- {fileID: 11400000, guid: c7452dc6dfb2cc040a6d0e543db6b671, type: 2}
|
||||||
- {fileID: 11400000, guid: 36ad6fbffd0cc574aaf7d76308d965a1, type: 2}
|
|
||||||
- {fileID: 11400000, guid: 4381db145ac80514c957374e20392b3b, type: 2}
|
- {fileID: 11400000, guid: 4381db145ac80514c957374e20392b3b, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 36ad6fbffd0cc574aaf7d76308d965a1, type: 2}
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: f667daa0686227b49a9ca2ebd6326a98, type: 3}
|
m_Script: {fileID: 11500000, guid: f667daa0686227b49a9ca2ebd6326a98, type: 3}
|
||||||
m_Name: Office
|
m_Name: Office
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
Place: Office
|
Title: Office
|
||||||
Icon: {fileID: 21300000, guid: c5e761867408abd48bdbfcc36c949f44, type: 3}
|
Icon: {fileID: 21300000, guid: c5e761867408abd48bdbfcc36c949f44, type: 3}
|
||||||
JobPositionsList:
|
OptionsList:
|
||||||
- {fileID: 11400000, guid: 9dd346cdfec57ee47ad1c06a925769bb, type: 2}
|
- {fileID: 11400000, guid: 9dd346cdfec57ee47ad1c06a925769bb, type: 2}
|
||||||
- {fileID: 11400000, guid: 36ad6fbffd0cc574aaf7d76308d965a1, type: 2}
|
|
||||||
- {fileID: 11400000, guid: 4381db145ac80514c957374e20392b3b, type: 2}
|
- {fileID: 11400000, guid: 4381db145ac80514c957374e20392b3b, type: 2}
|
||||||
|
- {fileID: 11400000, guid: 36ad6fbffd0cc574aaf7d76308d965a1, type: 2}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.UIElements;
|
|
||||||
|
|
||||||
[CreateAssetMenu()]
|
|
||||||
public class JobsListSO : ScriptableObject
|
|
||||||
{
|
|
||||||
public string Place;
|
|
||||||
public Sprite Icon;
|
|
||||||
public List<JobInfoSO> JobPositionsList;
|
|
||||||
}
|
|
||||||
+22
-24
@@ -1,10 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class JobSelectorUI : MonoBehaviour
|
public class DialogOptionsUI : MonoBehaviour
|
||||||
{
|
{
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private TextMeshProUGUI _title;
|
private TextMeshProUGUI _title;
|
||||||
@@ -22,28 +21,30 @@ public class JobSelectorUI : MonoBehaviour
|
|||||||
[SerializeField]
|
[SerializeField]
|
||||||
private JobItemUITemplate _jobItemUItemplate;
|
private JobItemUITemplate _jobItemUItemplate;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private JobTabUITemplate _jobTabUItemplate;
|
private DialogTabUITemplate _dialogTabUI;
|
||||||
[SerializeField]
|
|
||||||
private List<JobsListSO> _jobs;
|
|
||||||
|
|
||||||
private JobTabUITemplate _selectedTab;
|
private DialogTabUITemplate _selectedTab;
|
||||||
private JobItemUITemplate _selectedItem;
|
private JobItemUITemplate _selectedItem;
|
||||||
|
private DialogSO _dialogSO;
|
||||||
|
|
||||||
public void ShowJobSelectionDialog(string title, Action onCancel, Action<JobInfoSO> onConfirm)
|
public void ShowCategoriesDialog(DialogSO dialogSO, Action onCancel, Action<JobInfoSO> onConfirm)
|
||||||
{
|
{
|
||||||
GameManager.Instance.UI.Freeze();
|
GameManager.Instance.UI.Freeze();
|
||||||
|
|
||||||
|
_dialogSO = dialogSO;
|
||||||
|
|
||||||
gameObject.SetActive(true);
|
gameObject.SetActive(true);
|
||||||
_title.text = title;
|
_title.text = _dialogSO.Title;
|
||||||
|
|
||||||
//Create Tabs
|
//Create Tabs
|
||||||
for (int count = 0; count < _jobs.Count; count++)
|
for (int count = 0; count < _dialogSO.CategoriesSO.Count; count++)
|
||||||
{
|
{
|
||||||
JobsListSO job = _jobs[count];
|
var dialogOption = _dialogSO.CategoriesSO[count];
|
||||||
var itemUI = Instantiate(_jobTabUItemplate, _tabsContainer);
|
var itemUI = Instantiate(_dialogTabUI, _tabsContainer);
|
||||||
itemUI.gameObject.SetActive(true);
|
itemUI.gameObject.SetActive(true);
|
||||||
var template = itemUI.GetComponent<JobTabUITemplate>();
|
var template = itemUI.GetComponent<DialogTabUITemplate>();
|
||||||
template.SetItem(this, job);
|
|
||||||
|
template.SetItem(this, dialogOption);
|
||||||
if (count== 0) {
|
if (count== 0) {
|
||||||
OnTabSelected(template);
|
OnTabSelected(template);
|
||||||
}
|
}
|
||||||
@@ -61,30 +62,28 @@ public class JobSelectorUI : MonoBehaviour
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnTabEnter(JobTabUITemplate button)
|
public void OnTabEnter(DialogTabUITemplate button)
|
||||||
{
|
{
|
||||||
print($"enter to {button.JobListItem.name}");
|
print($"enter to {button.DialogOption.name}");
|
||||||
}
|
}
|
||||||
public void OnTabSelected(JobTabUITemplate button)
|
public void OnTabSelected(DialogTabUITemplate button)
|
||||||
{
|
{
|
||||||
_selectedTab = button;
|
_selectedTab = button;
|
||||||
_subTitle.text = _selectedTab.JobListItem.Place;
|
_subTitle.text = _selectedTab.DialogOption.Title;
|
||||||
while (_itemsContainer.childCount > 0)
|
while (_itemsContainer.childCount > 0)
|
||||||
{
|
{
|
||||||
DestroyImmediate(_itemsContainer.GetChild(0).gameObject);
|
DestroyImmediate(_itemsContainer.GetChild(0).gameObject);
|
||||||
}
|
}
|
||||||
foreach (var job in _selectedTab.JobListItem.JobPositionsList)
|
foreach (var job in _selectedTab.DialogOption.OptionsList)
|
||||||
{
|
{
|
||||||
var itemUI = Instantiate(_jobItemUItemplate, _itemsContainer);
|
var itemUI = Instantiate(_dialogSO.UITemplate, _itemsContainer);
|
||||||
itemUI.gameObject.SetActive(true);
|
itemUI.gameObject.SetActive(true);
|
||||||
itemUI.GetComponent<JobItemUITemplate>().SetItem(this,job);
|
itemUI.GetComponent<JobItemUITemplate>().SetItem(this, job);
|
||||||
}
|
}
|
||||||
print($"selected {button.JobListItem.name}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnTabExit(JobTabUITemplate button)
|
public void OnTabExit(DialogTabUITemplate button)
|
||||||
{
|
{
|
||||||
print($"exit {button.JobListItem.name}");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnItemSelected(JobItemUITemplate button)
|
public void OnItemSelected(JobItemUITemplate button)
|
||||||
@@ -105,4 +104,3 @@ public class JobSelectorUI : MonoBehaviour
|
|||||||
CloseDialog();
|
CloseDialog();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
+7
-7
@@ -3,22 +3,22 @@ using UnityEngine;
|
|||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class JobTabUITemplate : MonoBehaviour, IPointerEnterHandler,IPointerClickHandler, IPointerExitHandler
|
public class DialogTabUITemplate : MonoBehaviour, IPointerEnterHandler,IPointerClickHandler, IPointerExitHandler
|
||||||
{
|
{
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private TextMeshProUGUI _description;
|
private TextMeshProUGUI _description;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Image _icon;
|
private Image _icon;
|
||||||
|
|
||||||
public JobsListSO JobListItem=> _jobListItem;
|
public DialogCategorySO DialogOption=> _dialogOption;
|
||||||
private JobsListSO _jobListItem;
|
private DialogCategorySO _dialogOption;
|
||||||
|
|
||||||
private JobSelectorUI _parent;
|
private DialogOptionsUI _parent;
|
||||||
public void SetItem(JobSelectorUI parent, JobsListSO jobListItem)
|
public void SetItem(DialogOptionsUI parent, DialogCategorySO dialogOption)
|
||||||
{
|
{
|
||||||
_jobListItem = jobListItem;
|
_dialogOption = dialogOption;
|
||||||
_parent = parent;
|
_parent = parent;
|
||||||
_icon.sprite = jobListItem.Icon;
|
_icon.sprite = _dialogOption.Icon;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnPointerClick(PointerEventData eventData)
|
public void OnPointerClick(PointerEventData eventData)
|
||||||
@@ -1,9 +1,10 @@
|
|||||||
|
using Assets.Scripts.Interfaces;
|
||||||
using TMPro;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class JobItemUITemplate : MonoBehaviour, IPointerEnterHandler
|
public class JobItemUITemplate : MonoBehaviour, IDialogItemUI ,IPointerEnterHandler
|
||||||
{
|
{
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private TextMeshProUGUI _descreiption;
|
private TextMeshProUGUI _descreiption;
|
||||||
@@ -15,18 +16,18 @@ public class JobItemUITemplate : MonoBehaviour, IPointerEnterHandler
|
|||||||
[SerializeField]
|
[SerializeField]
|
||||||
private Button _button;
|
private Button _button;
|
||||||
|
|
||||||
private JobSelectorUI _parent;
|
private DialogOptionsUI _parent;
|
||||||
private JobInfoSO _item;
|
private JobInfoSO _item;
|
||||||
public JobInfoSO Item=> _item;
|
public JobInfoSO Item=> _item;
|
||||||
|
|
||||||
public void SetItem(JobSelectorUI parent,JobInfoSO item)
|
public void SetItem(DialogOptionsUI parent,IDialogOption item)
|
||||||
{
|
{
|
||||||
_item= item;
|
_item= item as JobInfoSO;
|
||||||
_parent = parent;
|
_parent = parent;
|
||||||
_descreiption.text = item.Description;
|
_descreiption.text = _item.Description;
|
||||||
_sallary.text = $"{item.Salary}$";
|
_sallary.text = $"{_item.Salary}$";
|
||||||
_icon.sprite = item.Icon;
|
_icon.sprite = item.Icon;
|
||||||
_button.enabled = Player.Instance.Education>=item.MinimumEducationSkill;
|
_button.enabled = Player.Instance.Education>= _item.MinimumEducationSkill;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ public class UISystem : MonoBehaviour
|
|||||||
[SerializeField]
|
[SerializeField]
|
||||||
private TimeSliderUI _timeSliderPrefab;
|
private TimeSliderUI _timeSliderPrefab;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private JobSelectorUI _jobSelectorPrefab;
|
private DialogOptionsUI _DialogUIPrefab;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private GameObject _blurOverlay;
|
private GameObject _blurOverlay;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
@@ -27,10 +27,10 @@ public class UISystem : MonoBehaviour
|
|||||||
timeSlider.ShowTimeSliderDialog(title, description, onCancel, onConfirm);
|
timeSlider.ShowTimeSliderDialog(title, description, onCancel, onConfirm);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ShowJobSelectionDialog(string title, Action onCancel, Action<JobInfoSO> onConfirm)
|
public void ShowTabObtionsDialog(DialogSO dialogSO, Action onCancel, Action<JobInfoSO> onConfirm)
|
||||||
{
|
{
|
||||||
var jobSelector = Instantiate(_jobSelectorPrefab, transform);
|
var dialog = Instantiate(_DialogUIPrefab, transform);
|
||||||
jobSelector.ShowJobSelectionDialog(title, onCancel, onConfirm);
|
dialog.ShowCategoriesDialog(dialogSO, onCancel, onConfirm);
|
||||||
}
|
}
|
||||||
|
|
||||||
public async UniTask<RadialMenuActions> ShowItemPopupMenu(Dictionary<RadialMenuActions, RadialMenuActionDescription> actions)
|
public async UniTask<RadialMenuActions> ShowItemPopupMenu(Dictionary<RadialMenuActions, RadialMenuActionDescription> actions)
|
||||||
|
|||||||
Reference in New Issue
Block a user