浏览代码

Colorblindness pass for lobbies.

MipMap settings for Borders.
/main/staging/UI_Marketing_Assets
当前提交
4c0d3e65
共有 8 个文件被更改,包括 54 次插入38 次删除
  1. 2
      Assets/Art/Borders/button_highlights.png.meta
  2. 2
      Assets/Art/Borders/inner_glow.png.meta
  3. 4
      Assets/Art/Borders/roundInput.png.meta
  4. 6
      Assets/Art/Borders/roundRect.png.meta
  5. 12
      Assets/Prefabs/UI/JoinContent.prefab
  6. 16
      Assets/Prefabs/UI/LobbyGameCanvas.prefab
  7. 44
      Assets/Prefabs/UI/PlayerInteractionPanel.prefab
  8. 6
      Assets/Scripts/UI/RecolorForLobbyType.cs

2
Assets/Art/Borders/button_highlights.png.meta


serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0

2
Assets/Art/Borders/inner_glow.png.meta


serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0

4
Assets/Art/Borders/roundInput.png.meta


serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
enableMipMap: 1
borderMipMap: 0
borderMipMap: 1
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1

6
Assets/Art/Borders/roundRect.png.meta


externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
mipMapMode: 1
enableMipMap: 1
mipMapsPreserveCoverage: 0
mipMapsPreserveCoverage: 1
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 2
mipMapFadeDistanceEnd: 4

12
Assets/Prefabs/UI/JoinContent.prefab


m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4282163455
m_fontColor: {r: 1, g: 0.627451, b: 0.23529412, a: 1}
rgba: 4278214357
m_fontColor: {r: 0.8352942, g: 0.36862746, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:

m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4285792015
m_fontColor: {r: 0.05882353, g: 1, b: 0.4509804, a: 1}
rgba: 4285767168
m_fontColor: {r: 0, g: 0.61960787, b: 0.45098042, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:

m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294927360
m_fontColor: {r: 0, g: 0.39215687, b: 1, a: 1}
rgba: 4289884672
m_fontColor: {r: 0, g: 0.44705886, b: 0.69803923, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:

16
Assets/Prefabs/UI/LobbyGameCanvas.prefab


propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6571416524262008532, guid: 2ff073ec9c74c8942bd90a541dc41bfc, type: 3}
propertyPath: m_fontColor.b
value: 0.45098042
objectReference: {fileID: 0}
- target: {fileID: 6571416524262008532, guid: 2ff073ec9c74c8942bd90a541dc41bfc, type: 3}
propertyPath: m_fontColor.g
value: 0.61960787
objectReference: {fileID: 0}
- target: {fileID: 6571416524262008532, guid: 2ff073ec9c74c8942bd90a541dc41bfc, type: 3}
propertyPath: m_fontColor.r
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6571416524262008532, guid: 2ff073ec9c74c8942bd90a541dc41bfc, type: 3}
propertyPath: m_fontColor32.rgba
value: 4285767168
objectReference: {fileID: 0}
- target: {fileID: 6664205945102926799, guid: 2ff073ec9c74c8942bd90a541dc41bfc, type: 3}
propertyPath: m_AnchorMax.y
value: 0

44
Assets/Prefabs/UI/PlayerInteractionPanel.prefab


m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4289459579
m_fontColor: {r: 0.48235297, g: 0.9607844, b: 0.67058825, a: 1}
rgba: 4285767168
m_fontColor: {r: 0, g: 0.61960787, b: 0.45098042, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:

m_Father: {fileID: 5026269005358103012}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 155.5, y: -27.5}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5387756616337415243
CanvasRenderer:

m_Father: {fileID: 5026269005358103012}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 49.5, y: -27.5}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8764544246360663793
CanvasRenderer:

m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294290359
m_fontColor: {r: 0.7176471, g: 0.67058825, b: 0.9607844, a: 1}
rgba: 4289884672
m_fontColor: {r: 0, g: 0.44705886, b: 0.69803923, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:

m_Father: {fileID: 5026269005358103012}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 208.5, y: -27.5}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4202478155384707071
CanvasRenderer:

m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4280654304
m_fontColor: {r: 0.8773585, g: 0.5991895, b: 0.1448469, a: 1}
rgba: 4278214357
m_fontColor: {r: 0.8352942, g: 0.36862746, b: 0, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:

m_Father: {fileID: 5026269005358103012}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 102.5, y: -27.5}
m_SizeDelta: {x: 50, y: 50}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4168724985671927024
CanvasRenderer:

6
Assets/Scripts/UI/RecolorForLobbyType.cs


[RequireComponent(typeof(LocalLobbyObserver))]
public class RecolorForLobbyType : MonoBehaviour
{
private static readonly Color s_orangeColor = new Color(1f, 0.7f, 0.25f);
private static readonly Color s_greenColor = new Color(0.1f, 1, 0.4f);
private static readonly Color s_blueColor = new Color(0.0f, 0.4f, 1f);
private static readonly Color s_orangeColor = new Color(0.8352942f, 0.3686275f, 0);
private static readonly Color s_greenColor = new Color(0, 0.6196079f, 0.4509804f);
private static readonly Color s_blueColor = new Color(0.0f, 0.4470589f, 0.6980392f);
private static readonly Color[] s_colorsOrdered = new Color[] { new Color(0.8f, 0.8f, 0.8f, 0.5f), s_orangeColor, s_greenColor, s_blueColor };
[SerializeField]

正在加载...
取消
保存