8 files added
5 files modified
New file |
| | |
| | | %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: tileCanPlace |
| | | m_Shader: {fileID: 10721, guid: 0000000000000000f000000000000000, type: 0} |
| | | m_ShaderKeywords: |
| | | 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} |
| | | - _DetailAlbedoMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _DetailMask: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _DetailNormalMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _EmissionMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _MainTex: |
| | | m_Texture: {fileID: 2800000, guid: 9f17c042d72ea254192e860cd5cd631e, type: 3} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _MetallicGlossMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _OcclusionMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _ParallaxMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | m_Floats: |
| | | - _BumpScale: 1 |
| | | - _Cutoff: 0.5 |
| | | - _DetailNormalMapScale: 1 |
| | | - _DstBlend: 0 |
| | | - _GlossMapScale: 1 |
| | | - _Glossiness: 0.5 |
| | | - _GlossyReflections: 1 |
| | | - _Metallic: 0 |
| | | - _Mode: 0 |
| | | - _OcclusionStrength: 1 |
| | | - _Parallax: 0.02 |
| | | - _SmoothnessTextureChannel: 0 |
| | | - _SpecularHighlights: 1 |
| | | - _SrcBlend: 1 |
| | | - _UVSec: 0 |
| | | - _ZWrite: 1 |
| | | m_Colors: |
| | | - _Color: {r: 1, g: 1, b: 1, a: 1} |
| | | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
| | | m_BuildTextureStacks: [] |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 3b7aa7626a2d4674ca2aa32958f14ca9 |
| | | NativeFormatImporter: |
| | | externalObjects: {} |
| | | mainObjectFileID: 0 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
New file |
| | |
| | | %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: tileCanPlace |
| | | m_Shader: {fileID: 10721, guid: 0000000000000000f000000000000000, type: 0} |
| | | m_ShaderKeywords: |
| | | 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} |
| | | - _DetailAlbedoMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _DetailMask: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _DetailNormalMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _EmissionMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _MainTex: |
| | | m_Texture: {fileID: 2800000, guid: d95395dc61ff4ce4baabc8fa53b612e1, type: 3} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _MetallicGlossMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _OcclusionMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | - _ParallaxMap: |
| | | m_Texture: {fileID: 0} |
| | | m_Scale: {x: 1, y: 1} |
| | | m_Offset: {x: 0, y: 0} |
| | | m_Floats: |
| | | - _BumpScale: 1 |
| | | - _Cutoff: 0.5 |
| | | - _DetailNormalMapScale: 1 |
| | | - _DstBlend: 0 |
| | | - _GlossMapScale: 1 |
| | | - _Glossiness: 0.5 |
| | | - _GlossyReflections: 1 |
| | | - _Metallic: 0 |
| | | - _Mode: 0 |
| | | - _OcclusionStrength: 1 |
| | | - _Parallax: 0.02 |
| | | - _SmoothnessTextureChannel: 0 |
| | | - _SpecularHighlights: 1 |
| | | - _SrcBlend: 1 |
| | | - _UVSec: 0 |
| | | - _ZWrite: 1 |
| | | m_Colors: |
| | | - _Color: {r: 1, g: 1, b: 1, a: 1} |
| | | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
| | | m_BuildTextureStacks: [] |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 434316934db1c90498f004f124d7c733 |
| | | NativeFormatImporter: |
| | | externalObjects: {} |
| | | mainObjectFileID: 0 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | m_LocalScale: {x: 7.907, y: 1, z: 10.8} |
| | | m_Children: |
| | | - {fileID: 4082878821884824} |
| | | - {fileID: 3708897891681601760} |
| | | m_Father: {fileID: 0} |
| | | m_RootOrder: 0 |
| | | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
| | |
| | | waitBuyMat: {fileID: 2100000, guid: 8b4b68a6f5591bb4ab76e4f7daf47e2f, type: 2} |
| | | openMat: {fileID: 2100000, guid: 889851e5ebd3ce74e8fb03cf286f27ec, type: 2} |
| | | destroyedMat: {fileID: 2100000, guid: 24cf3ab9c181b3245a435a32a6ee4cec, type: 2} |
| | | canPlaceRenderer: {fileID: 5722111975221064870} |
| | | canPlaceMat: {fileID: 2100000, guid: 434316934db1c90498f004f124d7c733, type: 2} |
| | | selectMat: {fileID: 2100000, guid: 3b7aa7626a2d4674ca2aa32958f14ca9, type: 2} |
| | | --- !u!1 &1648682030917314 |
| | | GameObject: |
| | | m_ObjectHideFlags: 0 |
| | |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 1648682030917314} |
| | | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} |
| | | --- !u!1 &6911264303789898319 |
| | | GameObject: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | serializedVersion: 6 |
| | | m_Component: |
| | | - component: {fileID: 3708897891681601760} |
| | | - component: {fileID: 5722111975221064870} |
| | | - component: {fileID: 3906394537090114700} |
| | | m_Layer: 0 |
| | | m_Name: Mesh (1) |
| | | m_TagString: Untagged |
| | | m_Icon: {fileID: 0} |
| | | m_NavMeshLayer: 0 |
| | | m_StaticEditorFlags: 0 |
| | | m_IsActive: 1 |
| | | --- !u!4 &3708897891681601760 |
| | | Transform: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 6911264303789898319} |
| | | m_LocalRotation: {x: 0.70710576, y: -0, z: -0, w: 0.70710784} |
| | | m_LocalPosition: {x: 0, y: 0, z: 0.0785} |
| | | m_LocalScale: {x: 1, y: 0.7293007, z: 1} |
| | | m_Children: [] |
| | | m_Father: {fileID: 4376446327882660} |
| | | m_RootOrder: 1 |
| | | m_LocalEulerAnglesHint: {x: 90.00001, y: 0, z: 0} |
| | | --- !u!23 &5722111975221064870 |
| | | MeshRenderer: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 6911264303789898319} |
| | | m_Enabled: 1 |
| | | m_CastShadows: 0 |
| | | m_ReceiveShadows: 1 |
| | | m_DynamicOccludee: 1 |
| | | m_MotionVectors: 1 |
| | | m_LightProbeUsage: 1 |
| | | m_ReflectionProbeUsage: 1 |
| | | m_RayTracingMode: 2 |
| | | m_RayTraceProcedural: 0 |
| | | m_RenderingLayerMask: 1 |
| | | m_RendererPriority: 0 |
| | | m_Materials: |
| | | - {fileID: 2100000, guid: 434316934db1c90498f004f124d7c733, type: 2} |
| | | m_StaticBatchInfo: |
| | | firstSubMesh: 0 |
| | | subMeshCount: 0 |
| | | m_StaticBatchRoot: {fileID: 0} |
| | | m_ProbeAnchor: {fileID: 0} |
| | | m_LightProbeVolumeOverride: {fileID: 0} |
| | | m_ScaleInLightmap: 1 |
| | | m_ReceiveGI: 1 |
| | | m_PreserveUVs: 0 |
| | | m_IgnoreNormalsForChartDetection: 0 |
| | | m_ImportantGI: 0 |
| | | m_StitchLightmapSeams: 1 |
| | | 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 |
| | | m_AdditionalVertexStreams: {fileID: 0} |
| | | --- !u!33 &3906394537090114700 |
| | | MeshFilter: |
| | | m_ObjectHideFlags: 0 |
| | | m_CorrespondingSourceObject: {fileID: 0} |
| | | m_PrefabInstance: {fileID: 0} |
| | | m_PrefabAsset: {fileID: 0} |
| | | m_GameObject: {fileID: 6911264303789898319} |
| | | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} |
| | |
| | | |
| | | this.isInDragState = true; |
| | | AudioSourceManager.Ins.Play(AudioEnum.DragTower); |
| | | m_GameUI.CheckAllCanPlace();//检查上阵宝石有么有可以合成的位置 |
| | | |
| | | //Debug.Log("开始拖拽"); |
| | | } |
| | |
| | | { |
| | | AudioSourceManager.Ins.Play(AudioEnum.PutTower); |
| | | } |
| | | m_GameUI.CloseCanPlaceRenderer();//关闭所有宝石示意 |
| | | m_GameUI.onEndTowerDrag(pointer); |
| | | |
| | | this.isInDragState = false; |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using Core.Utilities; |
| | | using KTGMGemClient; |
| | | using TowerDefense.Level; |
| | |
| | | return false; |
| | | } |
| | | |
| | | public void GetMeshRender(int x, int y, string name) |
| | | { |
| | | m_Tiles[x, y].gameObject.name = name; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 是否是等待购买的攻击塔位. |
| | |
| | | |
| | | m_Tiles[x, y] = newTile; |
| | | newTile.SetTileType(m_arrGridType[x, y]); |
| | | newTile.CheckCanPlace(false);//初始化不显示 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 开始拖拽的时候判断哪些可以放置 |
| | | /// </summary> |
| | | /// <param name="allTowerP">不符合条件的数组</param> |
| | | public void CheckAllCanPlace(List<IntVector2> allTowerP) |
| | | { |
| | | int iy = dimensions.y - 1;//3 |
| | | bool canPlace; |
| | | currentCanPlace = null; |
| | | for (int ix = 0; ix < dimensions.x; ix++) |
| | | { |
| | | for (int y = iy; y >= dimensions.y - AttackRowNumbers; --y) |
| | | { |
| | | if (m_arrGridType[ix, y] == PlacementGridType.EGridOpen) |
| | | { |
| | | canPlace = true; |
| | | for (int i = 0; i < allTowerP.Count; i++) |
| | | { |
| | | if (allTowerP[i].x == ix && allTowerP[i].y == y) |
| | | { |
| | | canPlace = false; |
| | | break; |
| | | } |
| | | } |
| | | m_Tiles[ix, y].CheckCanPlace(canPlace); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | PlacementTile currentCanPlace;//记录当前标记 |
| | | /// <summary> |
| | | /// 拖动时候实时检查距离哪个格子近 |
| | | /// </summary> |
| | | /// <param name="x"></param> |
| | | /// <param name="y"></param> |
| | | public void CheckCanPlaceUpdate(int x, int y) |
| | | { |
| | | CloseCanPlace(); |
| | | currentCanPlace = m_Tiles[x, y]; |
| | | currentCanPlace.SetSelect(true); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 关闭上一个 |
| | | /// </summary> |
| | | public void CloseCanPlace() |
| | | { |
| | | if (currentCanPlace != null) |
| | | { |
| | | currentCanPlace.SetSelect(false); |
| | | currentCanPlace = null; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 关闭所有 |
| | | /// </summary> |
| | | public void CloseCanPlaceRenderer() |
| | | { |
| | | int iy = dimensions.y - 1; |
| | | for (int ix = 0; ix < dimensions.x; ix++) |
| | | { |
| | | for (int y = iy; y >= dimensions.y - AttackRowNumbers; --y) |
| | | { |
| | | if (m_arrGridType[ix, y] == PlacementGridType.EGridOpen) |
| | | { |
| | | m_Tiles[ix, y].CheckCanPlace(false); |
| | | } |
| | | } |
| | | } |
| | |
| | | overTimer = null; |
| | | } |
| | | |
| | | #region 拖动时候给塔位一个标识 |
| | | |
| | | public MeshRenderer temporaryMat;//移动时候的虚像材质 |
| | | |
| | | /// <summary> |
| | | /// 查找可以合成的塔 |
| | | /// </summary> |
| | | public void CheckAllCanPlace() |
| | | { |
| | | List<IntVector2> allTowerP = new List<IntVector2>(); |
| | | for (int i = 0; i < m_listTower.Count; i++) |
| | | { |
| | | if (m_listTower[i].bInAttackMode && towerToMove && m_listTower[i].currentLevel == dragTowerLevel && m_listTower[i].towerName == towerToMove.towerName) |
| | | { |
| | | //说明可以合成 |
| | | } |
| | | else |
| | | { |
| | | //把不符合条件的传进去 |
| | | allTowerP.Add(m_listTower[i].gridPosition); |
| | | } |
| | | } |
| | | |
| | | (m_CurrentArea as TowerPlacementGridEndless).CheckAllCanPlace(allTowerP); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 关闭所有标识 |
| | | /// </summary> |
| | | public void CloseCanPlaceRenderer() |
| | | { |
| | | (m_CurrentArea as TowerPlacementGridEndless).CloseCanPlaceRenderer(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 检查符合条件的塔 |
| | | /// </summary> |
| | | /// <param name="pointerInfo"></param> |
| | | public void CheckTowerPlace(PointerInfo pointerInfo) |
| | | { |
| | | return; |
| | | //return; |
| | | //下面是为了设置一个虚拟的塔 |
| | | if (isFreeAttackGrid(pointerInfo) && m_CurrentTower.controller.towerFeature == EFeatureTower.NULL) |
| | | if (isFreeAttackGridOnDrag(pointerInfo) && m_CurrentTower.controller.towerFeature == EFeatureTower.NULL) |
| | | { |
| | | Debug.Log("得到了一个空的塔位"); |
| | | //Debug.Log("得到了一个空的塔位"); |
| | | |
| | | (m_CurrentArea as TowerPlacementGridEndless).GetMeshRender(m_GridPosition.x, m_GridPosition.y, "1"); |
| | | (m_CurrentArea as TowerPlacementGridEndless).CheckCanPlaceUpdate(m_GridPosition.x, m_GridPosition.y); |
| | | //if(temporaryMat) |
| | | } |
| | | else |
| | | { |
| | | (m_CurrentArea as TowerPlacementGridEndless).CloseCanPlace(); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 目标位置是否是可攻击属性的空塔位 |
| | | /// </summary> |
| | | /// <param name="pinfo"></param> |
| | | /// <returns></returns> |
| | | protected bool isFreeAttackGridOnDrag(PointerInfo pinfo) |
| | | { |
| | | // 判断格子上的塔防: |
| | | UIPointer pointer = WrapPointer(pinfo); |
| | | Tower sTower = PickTowerInGrid(pointer); |
| | | if (sTower != null) |
| | | { |
| | | if (sTower.bInAttackMode && towerToMove && sTower.currentLevel == dragTowerLevel && sTower.towerName == towerToMove.towerName) |
| | | { |
| | | //说明可以合成 |
| | | return true; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | if ((m_GridPosition.x >= 0) && (m_GridPosition.y >= 0)) |
| | | { |
| | | if (m_CurrentArea.isFreeAtackPos(m_GridPosition.x, m_GridPosition.y)) |
| | | { |
| | | return true; |
| | | } |
| | | } |
| | | |
| | | return false; |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// 拖动一个Tower之后,松开鼠标或者EndDrag. |
| | |
| | | CalSelTowerScreenOffset(info, controller); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 鼠标选中一个Tower的时候,计算当前鼠标位置与当前Tower位置在屏幕上坐标位置的偏移量。 |
| | | /// </summary> |
| | |
| | | public Material destroyedMat; |
| | | |
| | | /// <summary> |
| | | /// 可以放置的塔位 |
| | | /// </summary> |
| | | public Renderer canPlaceRenderer; |
| | | |
| | | /// <summary> |
| | | /// 可以放置的 |
| | | /// </summary> |
| | | public Material canPlaceMat; |
| | | |
| | | /// <summary> |
| | | /// 放置在当前位置 |
| | | /// </summary> |
| | | public Material selectMat; |
| | | |
| | | |
| | | /// <summary> |
| | | /// Update the state of this placement tile |
| | | /// </summary> |
| | | public void SetState(PlacementTileState newState) |
| | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 设置是否可以放置 |
| | | /// </summary> |
| | | /// <param name="canPlace"></param> |
| | | public void CheckCanPlace(bool canPlace) |
| | | { |
| | | canPlaceRenderer.enabled = canPlace; |
| | | if (canPlace) |
| | | { |
| | | SetSelect(false); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置当前材质 |
| | | /// </summary> |
| | | /// <param name="isSelect"></param> |
| | | public void SetSelect(bool isSelect) |
| | | { |
| | | canPlaceRenderer.material = isSelect ? selectMat : canPlaceMat; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 根据传入的参数来设置当前Grid对应的显示信息 |
| | | /// WORK START: 从这个函数开始,替换相关的显示效果 |
| | | /// </summary> |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: d95395dc61ff4ce4baabc8fa53b612e1 |
| | | TextureImporter: |
| | | internalIDToNameTable: [] |
| | | externalObjects: {} |
| | | serializedVersion: 11 |
| | | mipmaps: |
| | | mipMapMode: 0 |
| | | enableMipMap: 1 |
| | | 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: -100 |
| | | wrapU: -1 |
| | | wrapV: -1 |
| | | wrapW: -1 |
| | | nPOTScale: 1 |
| | | lightmap: 0 |
| | | compressionQuality: 50 |
| | | spriteMode: 0 |
| | | spriteExtrude: 1 |
| | | spriteMeshType: 1 |
| | | alignment: 0 |
| | | spritePivot: {x: 0.5, y: 0.5} |
| | | spritePixelsToUnits: 100 |
| | | spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
| | | spriteGenerateFallbackPhysicsShape: 1 |
| | | alphaUsage: 1 |
| | | alphaIsTransparency: 0 |
| | | spriteTessellationDetail: -1 |
| | | textureType: 0 |
| | | textureShape: 1 |
| | | singleChannelComponent: 0 |
| | | 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 |
| | | spriteSheet: |
| | | serializedVersion: 2 |
| | | sprites: [] |
| | | outline: [] |
| | | physicsShape: [] |
| | | bones: [] |
| | | spriteID: |
| | | internalID: 0 |
| | | vertices: [] |
| | | indices: |
| | | edges: [] |
| | | weights: [] |
| | | secondaryTextures: [] |
| | | spritePackingTag: |
| | | pSDRemoveMatte: 0 |
| | | pSDShowRemoveMatteOption: 0 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 9f17c042d72ea254192e860cd5cd631e |
| | | TextureImporter: |
| | | internalIDToNameTable: [] |
| | | externalObjects: {} |
| | | serializedVersion: 11 |
| | | mipmaps: |
| | | mipMapMode: 0 |
| | | enableMipMap: 1 |
| | | 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: -100 |
| | | wrapU: -1 |
| | | wrapV: -1 |
| | | wrapW: -1 |
| | | nPOTScale: 1 |
| | | lightmap: 0 |
| | | compressionQuality: 50 |
| | | spriteMode: 0 |
| | | spriteExtrude: 1 |
| | | spriteMeshType: 1 |
| | | alignment: 0 |
| | | spritePivot: {x: 0.5, y: 0.5} |
| | | spritePixelsToUnits: 100 |
| | | spriteBorder: {x: 0, y: 0, z: 0, w: 0} |
| | | spriteGenerateFallbackPhysicsShape: 1 |
| | | alphaUsage: 1 |
| | | alphaIsTransparency: 0 |
| | | spriteTessellationDetail: -1 |
| | | textureType: 0 |
| | | textureShape: 1 |
| | | singleChannelComponent: 0 |
| | | 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 |
| | | spriteSheet: |
| | | serializedVersion: 2 |
| | | sprites: [] |
| | | outline: [] |
| | | physicsShape: [] |
| | | bones: [] |
| | | spriteID: |
| | | internalID: 0 |
| | | vertices: [] |
| | | indices: |
| | | edges: [] |
| | | weights: [] |
| | | secondaryTextures: [] |
| | | spritePackingTag: |
| | | pSDRemoveMatte: 0 |
| | | pSDShowRemoveMatteOption: 0 |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |