Skip to content

Commit

Permalink
Fix menu colision radius & add menu help text
Browse files Browse the repository at this point in the history
  • Loading branch information
grandao committed Apr 15, 2019
1 parent abed8d5 commit ca80c94
Showing 1 changed file with 215 additions and 6 deletions.
221 changes: 215 additions & 6 deletions Assets/Scenes/SampleScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,7 @@ Transform:
- {fileID: 358312707}
- {fileID: 609275345}
- {fileID: 1128319196}
- {fileID: 936098399}
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
Expand Down Expand Up @@ -787,7 +788,7 @@ PrefabInstance:
- target: {fileID: 3744113986538518101, guid: d603b805d44936447aca5f6557fb7f71,
type: 3}
propertyPath: m_Radius
value: 0.0004
value: 0.00023
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d603b805d44936447aca5f6557fb7f71, type: 3}
Expand Down Expand Up @@ -882,7 +883,7 @@ PrefabInstance:
- target: {fileID: 3744113986538518101, guid: d603b805d44936447aca5f6557fb7f71,
type: 3}
propertyPath: m_Radius
value: 0.0004
value: 0.00023
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d603b805d44936447aca5f6557fb7f71, type: 3}
Expand Down Expand Up @@ -1554,7 +1555,7 @@ PrefabInstance:
- target: {fileID: 3744113986538518101, guid: d603b805d44936447aca5f6557fb7f71,
type: 3}
propertyPath: m_Radius
value: 0.0004
value: 0.00023
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d603b805d44936447aca5f6557fb7f71, type: 3}
Expand Down Expand Up @@ -1755,6 +1756,214 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d603b805d44936447aca5f6557fb7f71, type: 3}
--- !u!1 &936098398
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 936098399}
- component: {fileID: 936098403}
- component: {fileID: 936098402}
- component: {fileID: 936098401}
- component: {fileID: 936098400}
m_Layer: 5
m_Name: TextMeshPro
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &936098399
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936098398}
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_Children: []
m_Father: {fileID: 295934009}
m_RootOrder: 8
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.39, y: -5.02}
m_SizeDelta: {x: 3, y: 1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &936098400
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936098398}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_text: click anywere to exit
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 0b32c485f3bc8014e9db366fb2f16288, type: 2}
m_sharedMaterial: {fileID: 21671020554964118, guid: 0b32c485f3bc8014e9db366fb2f16288,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4287466893
m_fontColor: {r: 0.5566038, g: 0.5566038, b: 0.5566038, 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_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_outlineColor:
serializedVersion: 2
rgba: 4278190080
m_fontSize: 3
m_fontSizeBase: 3
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_textAlignment: 257
m_isAlignmentEnumConverted: 1
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_firstOverflowCharacterIndex: -1
m_linkedTextComponent: {fileID: 0}
m_isLinkedTextComponent: 0
m_isTextTruncated: 0
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 0
m_isCullingEnabled: 0
m_ignoreRectMaskCulling: 0
m_ignoreCulling: 1
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_firstVisibleCharacter: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_textInfo:
textComponent: {fileID: 936098400}
characterCount: 21
spriteCount: 0
spaceCount: 3
wordCount: 4
linkCount: 0
lineCount: 1
pageCount: 1
materialCount: 1
m_havePropertiesChanged: 0
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_spriteAnimator: {fileID: 0}
m_isInputParsingRequired: 0
m_inputSource: 0
m_hasFontAssetChanged: 0
m_renderer: {fileID: 936098403}
m_subTextObjects:
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
- {fileID: 0}
m_maskType: 0
--- !u!222 &936098401
CanvasRenderer:
m_ObjectHideFlags: 2
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936098398}
m_CullTransparentMesh: 0
--- !u!33 &936098402
MeshFilter:
m_ObjectHideFlags: 2
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936098398}
m_Mesh: {fileID: 0}
--- !u!23 &936098403
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 936098398}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 21671020554964118, guid: 0b32c485f3bc8014e9db366fb2f16288, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!1001 &1033888908
PrefabInstance:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -1840,7 +2049,7 @@ PrefabInstance:
- target: {fileID: 3744113986538518101, guid: d603b805d44936447aca5f6557fb7f71,
type: 3}
propertyPath: m_Radius
value: 0.0004
value: 0.00023
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d603b805d44936447aca5f6557fb7f71, type: 3}
Expand Down Expand Up @@ -2765,7 +2974,7 @@ PrefabInstance:
- target: {fileID: 3744113986538518101, guid: d603b805d44936447aca5f6557fb7f71,
type: 3}
propertyPath: m_Radius
value: 0.0004
value: 0.00023
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d603b805d44936447aca5f6557fb7f71, type: 3}
Expand Down Expand Up @@ -2860,7 +3069,7 @@ PrefabInstance:
- target: {fileID: 3744113986538518101, guid: d603b805d44936447aca5f6557fb7f71,
type: 3}
propertyPath: m_Radius
value: 0.0004
value: 0.00023
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d603b805d44936447aca5f6557fb7f71, type: 3}
Expand Down

0 comments on commit ca80c94

Please sign in to comment.