-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate button press indicators into a dedicated component
- Loading branch information
1 parent
3531436
commit 2629d4e
Showing
8 changed files
with
881 additions
and
1,029 deletions.
There are no files selected for viewing
783 changes: 279 additions & 504 deletions
783
Assets/Prefabs/Menu/ProfileInfo/EditBinds/BindGroups/ButtonBindGroup.prefab
Large diffs are not rendered by default.
Oops, something went wrong.
268 changes: 268 additions & 0 deletions
268
Assets/Prefabs/Menu/ProfileInfo/EditBinds/ButtonDisplay.prefab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,268 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!1 &786121201685866211 | ||
GameObject: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
serializedVersion: 6 | ||
m_Component: | ||
- component: {fileID: 2984788953043726377} | ||
- component: {fileID: 2889727461415993206} | ||
- component: {fileID: 7310481968073017561} | ||
m_Layer: 5 | ||
m_Name: Indicator | ||
m_TagString: Untagged | ||
m_Icon: {fileID: 0} | ||
m_NavMeshLayer: 0 | ||
m_StaticEditorFlags: 0 | ||
m_IsActive: 1 | ||
--- !u!224 &2984788953043726377 | ||
RectTransform: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 786121201685866211} | ||
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: 8002913148770255844} | ||
m_RootOrder: 1 | ||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
m_AnchorMin: {x: 0, y: 0.5} | ||
m_AnchorMax: {x: 0, y: 0.5} | ||
m_AnchoredPosition: {x: 10, y: 0} | ||
m_SizeDelta: {x: 32, y: 32} | ||
m_Pivot: {x: 0, y: 0.5} | ||
--- !u!222 &2889727461415993206 | ||
CanvasRenderer: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 786121201685866211} | ||
m_CullTransparentMesh: 1 | ||
--- !u!114 &7310481968073017561 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 786121201685866211} | ||
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, g: 0.12156863, b: 0.28627452, a: 1} | ||
m_RaycastTarget: 0 | ||
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} | ||
m_Maskable: 1 | ||
m_OnCullStateChanged: | ||
m_PersistentCalls: | ||
m_Calls: [] | ||
m_Sprite: {fileID: 21300000, guid: 4ea7f0c80de4297439426829a9552f72, 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 &1241766713281265600 | ||
GameObject: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
serializedVersion: 6 | ||
m_Component: | ||
- component: {fileID: 8002913148770255844} | ||
- component: {fileID: 3076843990945290059} | ||
m_Layer: 5 | ||
m_Name: ButtonDisplay | ||
m_TagString: Untagged | ||
m_Icon: {fileID: 0} | ||
m_NavMeshLayer: 0 | ||
m_StaticEditorFlags: 0 | ||
m_IsActive: 1 | ||
--- !u!224 &8002913148770255844 | ||
RectTransform: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 1241766713281265600} | ||
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: 1402621300018441461} | ||
- {fileID: 2984788953043726377} | ||
m_Father: {fileID: 0} | ||
m_RootOrder: 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: 5} | ||
m_SizeDelta: {x: 170, y: 50} | ||
m_Pivot: {x: 1, y: 0.5} | ||
--- !u!114 &3076843990945290059 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 1241766713281265600} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: 0ec240ec449a34d40a51aa34c202b360, type: 3} | ||
m_Name: | ||
m_EditorClassIdentifier: | ||
_pressedColor: {r: 0.12156863, g: 0.8117647, b: 0.972549, a: 1} | ||
_releasedColor: {r: 0, g: 0.12156863, b: 0.28627452, a: 1} | ||
_pressedIndicator: {fileID: 7310481968073017561} | ||
--- !u!1 &6133565675044133585 | ||
GameObject: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
serializedVersion: 6 | ||
m_Component: | ||
- component: {fileID: 1402621300018441461} | ||
- component: {fileID: 5282950870376170882} | ||
- component: {fileID: 6835623665131964947} | ||
m_Layer: 5 | ||
m_Name: Label | ||
m_TagString: Untagged | ||
m_Icon: {fileID: 0} | ||
m_NavMeshLayer: 0 | ||
m_StaticEditorFlags: 0 | ||
m_IsActive: 1 | ||
--- !u!224 &1402621300018441461 | ||
RectTransform: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 6133565675044133585} | ||
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: 8002913148770255844} | ||
m_RootOrder: 0 | ||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | ||
m_AnchorMin: {x: 0, y: 0} | ||
m_AnchorMax: {x: 0, y: 1} | ||
m_AnchoredPosition: {x: 60, y: 0} | ||
m_SizeDelta: {x: 110, y: 0} | ||
m_Pivot: {x: 0, y: 0.5} | ||
--- !u!222 &5282950870376170882 | ||
CanvasRenderer: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 6133565675044133585} | ||
m_CullTransparentMesh: 1 | ||
--- !u!114 &6835623665131964947 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 6133565675044133585} | ||
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: Pressed | ||
m_isRightToLeft: 0 | ||
m_fontAsset: {fileID: 11400000, guid: 65a8a6500dc773741bd815e54cd7c1ec, type: 2} | ||
m_sharedMaterial: {fileID: -8996134669666270778, guid: 65a8a6500dc773741bd815e54cd7c1ec, | ||
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: 28 | ||
m_fontSizeBase: 28 | ||
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: 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: 0 | ||
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} |
7 changes: 7 additions & 0 deletions
7
Assets/Prefabs/Menu/ProfileInfo/EditBinds/ButtonDisplay.prefab.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.