설정창 UI 수정

This commit is contained in:
정영민
2025-04-07 13:37:31 +09:00
parent 5d310665d3
commit 6e8595287f
10 changed files with 9402 additions and 381 deletions

View File

@@ -136,13 +136,13 @@ namespace CHN
else
{
isSuccess = false;
errorMessage = $"Server sent an error: {resp.StatusCode}-{resp.Message}";
errorMessage = "Not connected";
}
break;
default:
isSuccess = false;
errorMessage = $"Request state: {req.State}";
errorMessage = "Not connected";
break;
}
}

View File

@@ -36,6 +36,7 @@ namespace CHN
{
Destroy(item.Value.gameObject);
}
uiElements.Clear();
machineKPIs.Clear();
matchingMachines.Clear();

View File

@@ -63,7 +63,9 @@ namespace CHN
public void ProtocolSuccessCheck(Protocol protocol)
{
Image_State.color = protocol.isSuccess ? Color.green : Color.red;
var isActive = protocol.isSuccess;
Image_State.gameObject.SetActive(isActive);
ErrorMessage.text = protocol.errorMessage;
}
}

View File

@@ -44,7 +44,7 @@ GameObject:
m_Component:
- component: {fileID: 3023514251029359034}
- component: {fileID: 3747875877838062036}
- component: {fileID: 8956459931276245136}
- component: {fileID: 750403968995704985}
m_Layer: 0
m_Name: Point Light
m_TagString: Untagged
@@ -75,9 +75,8 @@ Light:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4095079085872878134}
m_Enabled: 1
serializedVersion: 10
serializedVersion: 11
m_Type: 2
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 3183.0989
m_Range: 1
@@ -127,9 +126,13 @@ Light:
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ForceVisible: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!114 &8956459931276245136
m_LightUnit: 1
m_LuxAtDistance: 1
m_EnableSpotReflector: 1
--- !u!114 &750403968995704985
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -138,119 +141,20 @@ MonoBehaviour:
m_GameObject: {fileID: 4095079085872878134}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Intensity: 40000
m_EnableSpotReflector: 1
m_LuxAtDistance: 1
m_InnerSpotPercent: 0
m_SpotIESCutoffPercent: 100
m_LightDimmer: 1
m_VolumetricDimmer: 1
m_LightUnit: 0
m_FadeDistance: 10000
m_VolumetricFadeDistance: 10000
m_AffectDiffuse: 1
m_AffectSpecular: 1
m_NonLightmappedOnly: 0
m_ShapeWidth: 0.5
m_ShapeHeight: 0.5
m_AspectRatio: 1
m_ShapeRadius: 0.025
m_SoftnessScale: 1
m_UseCustomSpotLightShadowCone: 0
m_CustomSpotLightShadowCone: 30
m_MaxSmoothness: 0.99
m_ApplyRangeAttenuation: 1
m_DisplayAreaLightEmissiveMesh: 0
m_AreaLightCookie: {fileID: 0}
m_IESPoint: {fileID: 0}
m_IESSpot: {fileID: 0}
m_IncludeForRayTracing: 0
m_AreaLightShadowCone: 120
m_UseScreenSpaceShadows: 0
m_InteractsWithSky: 1
m_AngularDiameter: 0.5
m_FlareSize: 2
m_FlareTint: {r: 1, g: 1, b: 1, a: 1}
m_FlareFalloff: 4
m_SurfaceTexture: {fileID: 0}
m_SurfaceTint: {r: 1, g: 1, b: 1, a: 1}
m_Distance: 1.5e+11
m_UseRayTracedShadows: 0
m_NumRayTracingSamples: 4
m_FilterTracedShadow: 1
m_FilterSizeTraced: 16
m_SunLightConeAngle: 0.5
m_LightShadowRadius: 0.5
m_SemiTransparentShadow: 0
m_ColorShadow: 1
m_DistanceBasedFiltering: 0
m_EvsmExponent: 15
m_EvsmLightLeakBias: 0
m_EvsmVarianceBias: 0.00001
m_EvsmBlurPasses: 0
m_LightlayersMask: 4
m_LinkShadowLayers: 1
m_ShadowNearPlane: 0
m_BlockerSampleCount: 24
m_FilterSampleCount: 16
m_MinFilterSize: 0.1
m_KernelSize: 5
m_LightAngle: 1
m_MaxDepthBias: 0.001
m_ShadowResolution:
m_Override: 512
m_UseOverride: 1
m_Level: 0
m_ShadowDimmer: 1
m_VolumetricShadowDimmer: 1
m_ShadowFadeDistance: 10000
m_UseContactShadow:
m_Override: 0
m_UseOverride: 1
m_Level: 0
m_RayTracedContactShadow: 0
m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
m_PenumbraTint: 0
m_NormalBias: 0.75
m_SlopeBias: 0.5
m_ShadowUpdateMode: 0
m_AlwaysDrawDynamicShadows: 0
m_UpdateShadowOnLightMovement: 0
m_CachedShadowTranslationThreshold: 0.01
m_CachedShadowAngularThreshold: 0.5
m_BarnDoorAngle: 90
m_BarnDoorLength: 0.05
m_preserveCachedShadow: 0
m_OnDemandShadowRenderOnPlacement: 1
m_ShadowCascadeRatios:
- 0.05
- 0.2
- 0.3
m_ShadowCascadeBorders:
- 0.2
- 0.2
- 0.2
- 0.2
m_ShadowAlgorithm: 0
m_ShadowVariant: 0
m_ShadowPrecision: 0
useOldInspector: 0
useVolumetric: 1
featuresFoldout: 1
m_AreaLightEmissiveMeshShadowCastingMode: 0
m_AreaLightEmissiveMeshMotionVectorGenerationMode: 0
m_AreaLightEmissiveMeshLayer: -1
m_Version: 11
m_ObsoleteShadowResolutionTier: 1
m_ObsoleteUseShadowQualitySettings: 0
m_ObsoleteCustomShadowResolution: 512
m_ObsoleteContactShadows: 0
m_PointlightHDType: 0
m_SpotLightShape: 0
m_AreaLightShape: 0
m_Version: 3
m_UsePipelineSettings: 1
m_AdditionalLightsShadowResolutionTier: 2
m_LightLayerMask: 1
m_RenderingLayers: 1
m_CustomShadowLayers: 0
m_ShadowLayerMask: 1
m_ShadowRenderingLayers: 1
m_LightCookieSize: {x: 1, y: 1}
m_LightCookieOffset: {x: 0, y: 0}
m_SoftShadowQuality: 0
--- !u!1001 &7151114217876442095
PrefabInstance:
m_ObjectHideFlags: 0
@@ -385,7 +289,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 833bd80f8b75780469a81668c26382c2,
type: 3}
propertyPath: m_Materials.Array.data[1]
propertyPath: 'm_Materials.Array.data[1]'
value:
objectReference: {fileID: 2100000, guid: cfa8291c20fc95444a1d139dcce52dd4, type: 2}
- target: {fileID: 919132149155446097, guid: 833bd80f8b75780469a81668c26382c2,