Skip to content

Commit

Permalink
font scale fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hww committed Feb 16, 2019
1 parent 90c5757 commit 51f1940
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 122 deletions.
4 changes: 2 additions & 2 deletions Prefabs/Oscilloscope.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -4845,7 +4845,7 @@ Canvas:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1920016341916424}
m_Enabled: 1
m_Enabled: 0
serializedVersion: 3
m_RenderMode: 0
m_Camera: {fileID: 0}
Expand Down Expand Up @@ -4888,7 +4888,7 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1920016341916424}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 1301386320, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
Expand Down
121 changes: 80 additions & 41 deletions Scenes/DemoScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand All @@ -50,7 +50,6 @@ LightmapSettings:
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_TemporalCoherenceThreshold: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
Expand Down Expand Up @@ -117,7 +116,8 @@ NavMeshSettings:
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 77496794}
Expand All @@ -133,7 +133,8 @@ GameObject:
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 77496793}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
Expand All @@ -151,7 +152,8 @@ RectTransform:
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 77496793}
m_Enabled: 1
m_EditorHideFlags: 0
Expand All @@ -165,7 +167,8 @@ MonoBehaviour:
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 170076735}
Expand All @@ -181,7 +184,8 @@ GameObject:
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 170076733}
m_Enabled: 1
serializedVersion: 8
Expand Down Expand Up @@ -218,7 +222,8 @@ Light:
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 170076733}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
Expand All @@ -228,110 +233,129 @@ Transform:
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1001 &297087742
Prefab:
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1187740112738316, guid: c3c8d32b6f5808f43971e053741117b0, type: 3}
propertyPath: m_Name
value: Oscilloscope
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 234
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_AnchoredPosition.y
value: 131.5
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_SizeDelta.x
value: 900
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_SizeDelta.y
value: 640
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224170326033462138, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c3c8d32b6f5808f43971e053741117b0, type: 2}
m_IsPrefabAsset: 0
m_SourcePrefab: {fileID: 100100000, guid: c3c8d32b6f5808f43971e053741117b0, type: 3}
--- !u!1 &534669902
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 534669905}
Expand All @@ -348,14 +372,16 @@ GameObject:
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 534669902}
m_Enabled: 1
--- !u!20 &534669904
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 534669902}
m_Enabled: 1
serializedVersion: 2
Expand All @@ -364,6 +390,7 @@ Camera:
m_projectionMatrixMode: 1
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_GateFitMode: 2
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
Expand Down Expand Up @@ -395,7 +422,8 @@ Camera:
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 534669902}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
Expand All @@ -408,7 +436,8 @@ Transform:
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 573335052}
Expand All @@ -425,7 +454,8 @@ GameObject:
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 573335049}
m_Enabled: 1
m_EditorHideFlags: 0
Expand All @@ -443,7 +473,8 @@ MonoBehaviour:
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 573335049}
m_Enabled: 1
m_EditorHideFlags: 0
Expand All @@ -457,7 +488,8 @@ MonoBehaviour:
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 573335049}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
Expand All @@ -469,11 +501,18 @@ Transform:
--- !u!223 &676954318 stripped
Canvas:
m_CorrespondingSourceObject: {fileID: 223655951512232192, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
m_PrefabInternal: {fileID: 297087742}
type: 3}
m_PrefabInstance: {fileID: 297087742}
m_PrefabAsset: {fileID: 0}
--- !u!114 &2108722784 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 114969355926249186, guid: c3c8d32b6f5808f43971e053741117b0,
type: 2}
m_PrefabInternal: {fileID: 297087742}
type: 3}
m_PrefabInstance: {fileID: 297087742}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 512fcec5d1c5a8446bc00944f4a7f213, type: 3}
m_Name:
m_EditorClassIdentifier:
Loading

0 comments on commit 51f1940

Please sign in to comment.