浏览代码
Added fonts, icon art and consolidated icons into same folder.
/main/staging/UI_Marketing_Assets
Added fonts, icon art and consolidated icons into same folder.
/main/staging/UI_Marketing_Assets
当前提交
752c13c8
共有 20 个文件被更改,包括 1885 次插入 和 27 次删除
-
8Assets/Art/Borders/button_highlights.png.meta
-
55Assets/Art/Borders/button_highlights.png
-
82Assets/Art/Borders/inner_glow.png
-
108Assets/Art/Borders/inner_glow.png.meta
-
8Assets/Art/Font.meta
-
39Assets/Scripts/UI/UITinter.cs
-
11Assets/Scripts/UI/UITinter.cs.meta
-
105Assets/Art/Font/CheckboxFLF SDF-Shadow Material.mat
-
8Assets/Art/Font/CheckboxFLF SDF-Shadow Material.mat.meta
-
1001Assets/Art/Font/CheckboxFLF SDF.asset
-
8Assets/Art/Font/CheckboxFLF SDF.asset.meta
-
435Assets/Art/Font/CheckboxFLF.ttf
-
21Assets/Art/Font/CheckboxFLF.ttf.meta
-
15Assets/Art/Borders/roundRect_fillBottom.png
-
8Assets/Art/Button.meta
-
0/Assets/Art/Borders/button_highlights.png.meta
-
0/Assets/Art/Borders/shiny_button.png
-
0/Assets/Art/Borders/shiny_button.png.meta
|
|||
fileFormatVersion: 2 |
|||
guid: 8d66f9f2b53275042ba30b17a7ede707 |
|||
TextureImporter: |
|||
internalIDToNameTable: [] |
|||
externalObjects: {} |
|||
serializedVersion: 11 |
|||
mipmaps: |
|||
mipMapMode: 0 |
|||
enableMipMap: 0 |
|||
sRGBTexture: 1 |
|||
linearTexture: 0 |
|||
fadeOut: 0 |
|||
borderMipMap: 0 |
|||
mipMapsPreserveCoverage: 0 |
|||
alphaTestReferenceValue: 0.5 |
|||
mipMapFadeDistanceStart: 1 |
|||
mipMapFadeDistanceEnd: 3 |
|||
bumpmap: |
|||
convertToNormalMap: 0 |
|||
externalNormalMap: 0 |
|||
heightScale: 0.25 |
|||
normalMapFilter: 0 |
|||
isReadable: 0 |
|||
streamingMipmaps: 0 |
|||
streamingMipmapsPriority: 0 |
|||
vTOnly: 0 |
|||
grayScaleToAlpha: 0 |
|||
generateCubemap: 6 |
|||
cubemapConvolution: 0 |
|||
seamlessCubemap: 0 |
|||
textureFormat: 1 |
|||
maxTextureSize: 2048 |
|||
textureSettings: |
|||
serializedVersion: 2 |
|||
filterMode: 1 |
|||
aniso: 1 |
|||
mipBias: 0 |
|||
wrapU: 1 |
|||
wrapV: 1 |
|||
wrapW: 1 |
|||
nPOTScale: 0 |
|||
lightmap: 0 |
|||
compressionQuality: 50 |
|||
spriteMode: 1 |
|||
spriteExtrude: 2 |
|||
spriteMeshType: 1 |
|||
alignment: 0 |
|||
spritePivot: {x: 0.5, y: 0.5} |
|||
spritePixelsToUnits: 200 |
|||
spriteBorder: {x: 150, y: 150, z: 150, w: 150} |
|||
spriteGenerateFallbackPhysicsShape: 0 |
|||
alphaUsage: 1 |
|||
alphaIsTransparency: 1 |
|||
spriteTessellationDetail: -1 |
|||
textureType: 8 |
|||
textureShape: 1 |
|||
singleChannelComponent: 0 |
|||
flipbookRows: 1 |
|||
flipbookColumns: 1 |
|||
maxTextureSizeSet: 0 |
|||
compressionQualitySet: 0 |
|||
textureFormatSet: 0 |
|||
ignorePngGamma: 0 |
|||
applyGammaDecoding: 0 |
|||
platformSettings: |
|||
- serializedVersion: 3 |
|||
buildTarget: DefaultTexturePlatform |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
- serializedVersion: 3 |
|||
buildTarget: Standalone |
|||
maxTextureSize: 2048 |
|||
resizeAlgorithm: 0 |
|||
textureFormat: -1 |
|||
textureCompression: 1 |
|||
compressionQuality: 50 |
|||
crunchedCompression: 0 |
|||
allowsAlphaSplitting: 0 |
|||
overridden: 0 |
|||
androidETC2FallbackOverride: 0 |
|||
forceMaximumCompressionQuality_BC6H_BC7: 0 |
|||
spriteSheet: |
|||
serializedVersion: 2 |
|||
sprites: [] |
|||
outline: [] |
|||
physicsShape: [] |
|||
bones: [] |
|||
spriteID: 5e97eb03825dee720800000000000000 |
|||
internalID: 0 |
|||
vertices: [] |
|||
indices: |
|||
edges: [] |
|||
weights: [] |
|||
secondaryTextures: [] |
|||
spritePackingTag: |
|||
pSDRemoveMatte: 0 |
|||
pSDShowRemoveMatteOption: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: ea6628b86f6a5644f9b013710036b9fb |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using System; |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
using UnityEngine; |
|||
using UnityEngine.Serialization; |
|||
using UnityEngine.UI; |
|||
|
|||
namespace GameLobby.UI |
|||
{ |
|||
[RequireComponent(typeof(Image))] |
|||
public class UITinter : MonoBehaviour |
|||
{ |
|||
|
|||
[SerializeField] |
|||
Color[] m_TintColors; |
|||
Image m_Image; |
|||
void Awake() |
|||
{ |
|||
m_Image = GetComponent<Image>(); |
|||
} |
|||
|
|||
public void SetToColor(bool firstTwoColors) |
|||
{ |
|||
int colorInt = firstTwoColors ? 1 : 0; |
|||
if (colorInt >= m_TintColors.Length) |
|||
return; |
|||
m_Image.color = m_TintColors[colorInt]; |
|||
} |
|||
|
|||
public void SetToColor(int colorInt) |
|||
{ |
|||
if (colorInt >= m_TintColors.Length) |
|||
return; |
|||
m_Image.color = m_TintColors[colorInt]; |
|||
} |
|||
} |
|||
|
|||
|
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 137b029a1106d7949a33106b02d1e837 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!21 &2100000 |
|||
Material: |
|||
serializedVersion: 6 |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_Name: CheckboxFLF SDF-Shadow Material |
|||
m_Shader: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, type: 3} |
|||
m_ShaderKeywords: UNDERLAY_ON |
|||
m_LightmapFlags: 4 |
|||
m_EnableInstancingVariants: 0 |
|||
m_DoubleSidedGI: 0 |
|||
m_CustomRenderQueue: -1 |
|||
stringTagMap: {} |
|||
disabledShaderPasses: [] |
|||
m_SavedProperties: |
|||
serializedVersion: 3 |
|||
m_TexEnvs: |
|||
- _BumpMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _Cube: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _FaceTex: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MainTex: |
|||
m_Texture: {fileID: 7229677584260739091, guid: 008daa1b26adf2b4ba0fbd11b7f79b6e, type: 2} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _OutlineTex: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
m_Floats: |
|||
- _Ambient: 0.5 |
|||
- _Bevel: 0.5 |
|||
- _BevelClamp: 0 |
|||
- _BevelOffset: 0 |
|||
- _BevelRoundness: 0 |
|||
- _BevelWidth: 0 |
|||
- _BumpFace: 0 |
|||
- _BumpOutline: 0 |
|||
- _ColorMask: 15 |
|||
- _CullMode: 0 |
|||
- _Diffuse: 0.5 |
|||
- _FaceDilate: -0.05 |
|||
- _FaceUVSpeedX: 0 |
|||
- _FaceUVSpeedY: 0 |
|||
- _GlowInner: 0.05 |
|||
- _GlowOffset: 0 |
|||
- _GlowOuter: 0.05 |
|||
- _GlowPower: 0.75 |
|||
- _GradientScale: 6 |
|||
- _LightAngle: 3.1416 |
|||
- _MaskSoftnessX: 0 |
|||
- _MaskSoftnessY: 0 |
|||
- _OutlineSoftness: 0 |
|||
- _OutlineUVSpeedX: 0 |
|||
- _OutlineUVSpeedY: 0 |
|||
- _OutlineWidth: 0 |
|||
- _PerspectiveFilter: 0.875 |
|||
- _Reflectivity: 10 |
|||
- _ScaleRatioA: 0.8333333 |
|||
- _ScaleRatioB: 0.8333333 |
|||
- _ScaleRatioC: 0.8333333 |
|||
- _ScaleX: 1 |
|||
- _ScaleY: 1 |
|||
- _ShaderFlags: 0 |
|||
- _Sharpness: 0 |
|||
- _SpecularPower: 2 |
|||
- _Stencil: 0 |
|||
- _StencilComp: 8 |
|||
- _StencilOp: 0 |
|||
- _StencilReadMask: 255 |
|||
- _StencilWriteMask: 255 |
|||
- _TextureHeight: 1024 |
|||
- _TextureWidth: 2048 |
|||
- _UnderlayDilate: 0.18 |
|||
- _UnderlayOffsetX: 0.105 |
|||
- _UnderlayOffsetY: -0.275 |
|||
- _UnderlaySoftness: 0 |
|||
- _VertexOffsetX: 0 |
|||
- _VertexOffsetY: 0 |
|||
- _WeightBold: 0.2 |
|||
- _WeightNormal: 0 |
|||
m_Colors: |
|||
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767} |
|||
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0} |
|||
- _FaceColor: {r: 1, g: 1, b: 1, a: 1} |
|||
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5} |
|||
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767} |
|||
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1} |
|||
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1} |
|||
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1} |
|||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1} |
|||
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5} |
|||
m_BuildTextureStacks: [] |
|
|||
fileFormatVersion: 2 |
|||
guid: 6f0e377efa860d94999a2ce479cd9614 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 2100000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
1001
Assets/Art/Font/CheckboxFLF SDF.asset
文件差异内容过多而无法显示
查看文件
文件差异内容过多而无法显示
查看文件
|
|||
fileFormatVersion: 2 |
|||
guid: 008daa1b26adf2b4ba0fbd11b7f79b6e |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
|