Browse Source

Huge commit : -Orbs System -TimeLimit System -Everything Saved -Added Raycast to prevent falling player on new game

Nathan Gusatto 10 tháng trước cách đây
mục cha
commit
b877a77d9e

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 115 - 2
Assets/Scenes/Game.unity


+ 2 - 2
Assets/Scripts/Daylight Cycle/Skybox.mat

@@ -28,12 +28,12 @@ Material:
         m_Scale: {x: 1, y: 1}
         m_Offset: {x: 0, y: 0}
     - _Texture2:
-        m_Texture: {fileID: 2800000, guid: c15e36d3819e8d14ab21ab119e3fd4a7, type: 3}
+        m_Texture: {fileID: 2800000, guid: 323f1ea1bce78fe4c90b2286fa1997e2, type: 3}
         m_Scale: {x: 1, y: 1}
         m_Offset: {x: 0, y: 0}
     m_Ints: []
     m_Floats:
-    - _Blend: 0
+    - _Blend: 0.9993663
     - _Exposure1: 1
     - _Exposure2: 1
     - _ImageType: 0

+ 10 - 0
Assets/Scripts/Daylight Cycle/TimeManager.cs

@@ -1,5 +1,6 @@
 using System;
 using System.Collections;
+using TMPro;
 using UnityEngine;
 
 public class TimeManager : MonoBehaviour
@@ -25,9 +26,12 @@ public class TimeManager : MonoBehaviour
 
     public float tempSecond;
 
+    public TMP_Text TimeField;
+
     // Start is called once before the first execution of Update after the MonoBehaviour is created
     void Start()
     {
+        UpdateUI();
     }
 
     // Update is called once per frame
@@ -41,6 +45,11 @@ public class TimeManager : MonoBehaviour
         }
     }
 
+    private void UpdateUI()
+    {
+        TimeField.text = Hours.ToString("D2") + " : " + Minutes.ToString("D2");
+    }
+
     private void OnMinutesChanged(float value)
     {
         globalLight.transform.Rotate(Vector3.up, (1f / 1440f) * 360f, Space.World);
@@ -54,6 +63,7 @@ public class TimeManager : MonoBehaviour
             Hours -= 24;
             Days++;
         }
+        UpdateUI();
     }
 
     private void OnHoursChanged(float value)

+ 96 - 5
Assets/Scripts/GameManager.cs

@@ -1,18 +1,31 @@
+using System;
+using System.Collections;
+using System.Linq;
+using TMPro;
+using UnityEditor;
 using UnityEngine;
 using UnityEngine.SceneManagement;
+using UnityEngine.SocialPlatforms.Impl;
 
 public class GameManager : MonoBehaviour
 {
+    public int GameOverHour;
+    public int GameOverMinutes;
+
     private GameData data;
 
     private SaveManager saveManager;
     private TimeManager timeManager;
     private MapGenerator mapGenerator;
+    private OrbManager orbManager;
+    public TMP_Text UI;
 
     private GameObject player;
+    private int score;
     // Start is called once before the first execution of Update after the MonoBehaviour is created
     void Start()
     {
+
         //Get the player
         player = GameObject.Find("Player");
         if (player == null) return;
@@ -21,8 +34,15 @@ public class GameManager : MonoBehaviour
         saveManager = GetComponent<SaveManager>();
         timeManager = GetComponent<TimeManager>();
         mapGenerator = GameObject.Find("Map Generator").GetComponent<MapGenerator>();
+        orbManager = GetComponent<OrbManager>();
 
         data = saveManager.LoadGame();
+
+        if (data.Orbs.Length == 0)
+        {
+            StartCoroutine(orbManager.StartSpawn());
+        }
+
         //reset light settings
         RenderSettings.skybox.SetTexture("_Texture1", timeManager.skyboxNight);
         RenderSettings.skybox.SetTexture("_Texture2", timeManager.skyboxSunrise);
@@ -45,18 +65,27 @@ public class GameManager : MonoBehaviour
     void Update()
     {
 
-        if (Input.GetKeyDown(KeyCode.F5)) 
+        if (Input.GetKeyDown(KeyCode.F5))
         {
             Save();
         }
-        if (Input.GetKeyDown(KeyCode.F9)) 
+        if (Input.GetKeyDown(KeyCode.F9))
         {
             //SceneManager.LoadScene("Game");
         }
+
+        if(timeManager.Hours >= GameOverHour && timeManager.Minutes >= GameOverMinutes)
+        {
+            OnGameOver();
+        }
     }
     void GetData()
     {
+        #region PlayerAndOrbs
         data.playerPosition = player.transform.position;
+        data.playerScore = score;
+        data.Orbs = GetAllOrbs();
+        #endregion
 
         #region DaylightCycle
         data.minutes = timeManager.Minutes;
@@ -79,8 +108,19 @@ public class GameManager : MonoBehaviour
 
     void SetData()
     {
+        #region PlayerAndOrbs
         if (data.playerPosition != Vector3.zero)
+        {
             player.transform.position = data.playerPosition;
+        }
+        else
+        {
+            StartCoroutine(SpawnPlayer());
+        }
+        score = data.playerScore;
+        UpdateUI();
+        SpawnOrbs();
+        #endregion
 
         #region DaylightCycle
 
@@ -90,11 +130,11 @@ public class GameManager : MonoBehaviour
         if (data.skybox != null)
             RenderSettings.skybox = data.skybox;
 
-        if(data.globalLightColor != null)
+        if (data.globalLightColor != null)
         {
             timeManager.globalLight.color = data.globalLightColor;
             RenderSettings.fogColor = data.globalLightColor;
-        } 
+        }
 
         if (data.globalLightRotation != null)
             timeManager.globalLight.transform.rotation = data.globalLightRotation;
@@ -102,7 +142,7 @@ public class GameManager : MonoBehaviour
         #endregion
 
         #region Stamina
-        if(data.skybox !=null) //because !
+        if (data.skybox != null) //because !
             player.GetComponent<Stamina>().Reinit(data.currentStamina, data.canSprint);
 
         #endregion
@@ -113,10 +153,61 @@ public class GameManager : MonoBehaviour
 
     }
 
+    IEnumerator SpawnPlayer()
+    {
+        yield return new WaitForSeconds(3);
+        Vector3 rayStart = Vector3.zero + Vector3.up * 300;
+
+        if (Physics.Raycast(rayStart, Vector3.down, out RaycastHit hit, 600f))
+        {
+            player.transform.position = hit.point + new Vector3(0f, 1f, 0f);
+        }
+    }
+
+    private void SpawnOrbs()
+    {
+        for (int i = 0; i < data.Orbs.Length; i++) {
+            Instantiate(orbManager.prefab, data.Orbs[i], Quaternion.identity);
+        }
+    }
+
+    private Vector3[] GetAllOrbs()
+    {
+        string targetName = "Orb(Clone)";
+        var actors = FindObjectsByType<GameObject>(FindObjectsSortMode.None)
+                     .Where(obj => obj.name == targetName)
+                     .ToArray();
+
+        Vector3[] orbs = new Vector3[actors.Length];
+        for (int i = 0; i < actors.Length; i++)
+        {
+            orbs[i] = actors[i].transform.position;
+        }
+
+        return orbs;
+    }
+
     public void Save()
     {
         GetData();
         saveManager.SaveGame(data);
     }
 
+    public void IncreaseScore()
+    {
+        score++;
+        UpdateUI();
+    }
+
+    private void UpdateUI()
+    {
+        UI.text = score.ToString();
+    }
+
+    private void OnGameOver()
+    {
+        Save();
+        Debug.Log("you died");
+    }
+
 }

+ 35 - 13
Assets/Scripts/Procedural Generation/MapGenerator.cs

@@ -1,13 +1,13 @@
-using UnityEngine;
-using System.Collections;
 using System;
-using System.Threading;
+using System.Collections;
 using System.Collections.Generic;
+using System.Security.Cryptography;
+using System.Threading;
 using UnityEditor.AI;
+using UnityEngine;
 
 public class MapGenerator : MonoBehaviour
 {
-
     public enum DrawMode { NoiseMap, Mesh, FalloffMap };
     public DrawMode drawMode;
 
@@ -24,8 +24,6 @@ public class MapGenerator : MonoBehaviour
 
     float[,] falloffMap;
 
-    public ForestManager forestManager;
-
     Queue<MapThreadInfo<MapData>> mapDataThreadInfoQueue = new Queue<MapThreadInfo<MapData>>();
     Queue<MapThreadInfo<MeshData>> meshDataThreadInfoQueue = new Queue<MapThreadInfo<MeshData>>();
 
@@ -58,8 +56,7 @@ public class MapGenerator : MonoBehaviour
     }
     private void Awake()
     {
-        textureData.UpdateMeshHeights(terrainMaterial, terrainData.minHeight, terrainData.maxHeight);
-        
+        textureData.UpdateMeshHeights(terrainMaterial, terrainData.minHeight, terrainData.maxHeight);        
     }
 
     public void DrawMapInEditor()
@@ -127,10 +124,6 @@ public class MapGenerator : MonoBehaviour
             {
                 MapThreadInfo<MapData> threadInfo = mapDataThreadInfoQueue.Dequeue();
                 threadInfo.callback(threadInfo.parameter);
-                /*
-                for (int x=0; x<terrainData.)
-                forestManager.SpawnTree(threadInfo.parameter.)
-                */
             }
         }
 
@@ -142,6 +135,35 @@ public class MapGenerator : MonoBehaviour
                 threadInfo.callback(threadInfo.parameter);
             }
         }
+        if (ForestData.spawnable.Count > 0)
+        {
+            for (int i = 0; i < ForestData.spawnable.Count; i++)
+            {
+                Vector3 position = ForestData.spawnable.Dequeue();
+                spawnTree(position);
+            }
+        }
+    }
+
+    public void spawnTree(Vector3 position)
+    {
+        float rnd = UnityEngine.Random.Range(0f, 1f);
+        if(rnd < ForestData.spawnRate)
+        {
+
+            Vector3 rayStart = position + Vector3.up * 300;
+
+            if (Physics.Raycast(rayStart, Vector3.down, out RaycastHit hit, 600f))
+            {
+                if(hit.point.y < ForestData.maxHeight && hit.point.y > ForestData.minHeight)
+                {
+                    int rndTree = UnityEngine.Random.Range(0, ForestData.Trees.Length);
+                    UnityEngine.Object.Instantiate(ForestData.Trees[rndTree], hit.point, Quaternion.identity);
+                }
+            }
+
+
+        }
     }
 
     private MapData GenerateMapData(Vector2 centre)
@@ -213,4 +235,4 @@ public struct MapData
     {
         this.heightMap = heightMap;
     }
-}
+}

+ 14 - 0
Assets/Scripts/Procedural Generation/MeshGenerator.cs

@@ -1,5 +1,8 @@
+using System;
 using System.Collections;
+using UnityEditor.PackageManager;
 using UnityEngine;
+using UnityEngine.UIElements;
 using static UnityEditor.PlayerSettings;
 
 public static class MeshGenerator
@@ -55,6 +58,17 @@ public static class MeshGenerator
                 float height = heightCurve.Evaluate(heightMap[x, y]) * heightMultiplier;
                 Vector3 vertexPosition = new Vector3(topLeftX + percent.x * meshSizeUnsimplified, height, topLeftZ - percent.y * meshSizeUnsimplified);
 
+                /*
+                try
+                {
+                    ForestData.spawnable.Enqueue(vertexPosition);
+                    
+                }
+                catch (Exception e)
+                {
+                    Debug.Log(e);
+                }*/
+
                 meshData.AddVertex(vertexPosition, percent, vertexIndex);
 
                 if (x < borderedSize - 1 && y < borderedSize - 1)

+ 1 - 0
Assets/Scripts/Save/GameData.cs

@@ -4,6 +4,7 @@ using UnityEngine;
 public class GameData
 {
     public int playerScore;
+    public Vector3[] Orbs;
     public Vector3 playerPosition;
 
     //MapGeneration

+ 0 - 21
Assets/Scripts/Terrain/Forest Manager.cs

@@ -1,21 +0,0 @@
-using UnityEngine;
-using System;
-using NUnit.Framework;
-using System.Collections.Generic;
-
-public class ForestManager : MonoBehaviour
-{
-    public float treeSpawnRate = .1f;
-    public float minHeight = .2f;
-    public GameObject[] trees;
-
-    public void SpawnTree(Vector3 pos, float meshHeightMultiplier)
-    {
-        System.Random rnd = new System.Random();
-        if (rnd.NextDouble() < treeSpawnRate && (pos.y / meshHeightMultiplier) >= minHeight)
-        {
-            GameObject tree;
-            tree = Instantiate(trees[0], pos, Quaternion.identity);
-        }
-    }
-}

+ 0 - 2
Assets/Scripts/Terrain/Forest Manager.cs.meta

@@ -1,2 +0,0 @@
-fileFormatVersion: 2
-guid: 105ee96e43793894b86b8fcfb4c3b372

+ 22 - 0
Assets/Scripts/Terrain/ForestData.cs

@@ -0,0 +1,22 @@
+using System.Collections.Generic;
+using UnityEngine;
+
+public class ForestData : MonoBehaviour
+{
+
+    public static float spawnRate = .1f;
+    public static float minHeight = 8f;
+    public static float maxHeight = 13f;
+
+    public static Queue<Vector3> spawnable = new Queue<Vector3>();
+
+    //Tricky
+    public GameObject[] TreesTemp;
+    public static GameObject[] Trees;
+
+    private void Awake()
+    {
+        Trees = TreesTemp;
+    }
+
+}

+ 2 - 0
Assets/Scripts/Terrain/ForestData.cs.meta

@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 2c342bc5167398e40bd26aee1a8d843e

+ 123 - 0
Assets/Scripts/Terrain/Orb.prefab

@@ -0,0 +1,123 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1 &8310041146622477725
+GameObject:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  serializedVersion: 6
+  m_Component:
+  - component: {fileID: 8820977915133755035}
+  - component: {fileID: 2983623472934204843}
+  - component: {fileID: 3290635793529789348}
+  - component: {fileID: 6455922194324285481}
+  - component: {fileID: 7757987552326496146}
+  m_Layer: 0
+  m_Name: Orb
+  m_TagString: Untagged
+  m_Icon: {fileID: 0}
+  m_NavMeshLayer: 0
+  m_StaticEditorFlags: 0
+  m_IsActive: 1
+--- !u!4 &8820977915133755035
+Transform:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 8310041146622477725}
+  serializedVersion: 2
+  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+  m_LocalPosition: {x: 0, y: 0, z: 0}
+  m_LocalScale: {x: 3, y: 3, z: 3}
+  m_ConstrainProportionsScale: 1
+  m_Children: []
+  m_Father: {fileID: 0}
+  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!33 &2983623472934204843
+MeshFilter:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 8310041146622477725}
+  m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!23 &3290635793529789348
+MeshRenderer:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 8310041146622477725}
+  m_Enabled: 1
+  m_CastShadows: 1
+  m_ReceiveShadows: 1
+  m_DynamicOccludee: 1
+  m_StaticShadowCaster: 0
+  m_MotionVectors: 1
+  m_LightProbeUsage: 1
+  m_ReflectionProbeUsage: 1
+  m_RayTracingMode: 2
+  m_RayTraceProcedural: 0
+  m_RayTracingAccelStructBuildFlagsOverride: 0
+  m_RayTracingAccelStructBuildFlags: 1
+  m_SmallMeshCulling: 1
+  m_RenderingLayerMask: 1
+  m_RendererPriority: 0
+  m_Materials:
+  - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, 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!135 &6455922194324285481
+SphereCollider:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 8310041146622477725}
+  m_Material: {fileID: 0}
+  m_IncludeLayers:
+    serializedVersion: 2
+    m_Bits: 0
+  m_ExcludeLayers:
+    serializedVersion: 2
+    m_Bits: 0
+  m_LayerOverridePriority: 0
+  m_IsTrigger: 1
+  m_ProvidesContacts: 0
+  m_Enabled: 1
+  serializedVersion: 3
+  m_Radius: 1
+  m_Center: {x: 0, y: 0, z: 0}
+--- !u!114 &7757987552326496146
+MonoBehaviour:
+  m_ObjectHideFlags: 0
+  m_CorrespondingSourceObject: {fileID: 0}
+  m_PrefabInstance: {fileID: 0}
+  m_PrefabAsset: {fileID: 0}
+  m_GameObject: {fileID: 8310041146622477725}
+  m_Enabled: 1
+  m_EditorHideFlags: 0
+  m_Script: {fileID: 11500000, guid: 844e1854c5ddfd54a9131110c5b99dd2, type: 3}
+  m_Name: 
+  m_EditorClassIdentifier: 

+ 7 - 0
Assets/Scripts/Terrain/Orb.prefab.meta

@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: ee27ed5fb61705e4ea3b9624caad0f3f
+PrefabImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 14 - 0
Assets/Scripts/Terrain/OrbBehaviour.cs

@@ -0,0 +1,14 @@
+using UnityEngine;
+
+public class OrbBehaviour : MonoBehaviour
+{
+
+    private void OnTriggerEnter(Collider other)
+    {
+        if(other.gameObject.name == "Player")
+        {
+            GameObject.Find("GameManager").GetComponent<GameManager>().IncreaseScore();
+            Destroy(gameObject);
+        }
+    }
+}

+ 2 - 0
Assets/Scripts/Terrain/OrbBehaviour.cs.meta

@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: 844e1854c5ddfd54a9131110c5b99dd2

+ 9 - 0
Assets/Scripts/Terrain/OrbData.cs

@@ -0,0 +1,9 @@
+using System.Collections.Generic;
+using UnityEngine;
+
+public class OrbData : MonoBehaviour
+{
+    public static float spawnRate = .1f;
+    public static float minHeight = 0f;
+    public static float maxHeight = 8f;
+}

+ 2 - 0
Assets/Scripts/Terrain/OrbData.cs.meta

@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: e7121adc205bc374884c8fd229509ce9

+ 43 - 0
Assets/Scripts/Terrain/OrbManager.cs

@@ -0,0 +1,43 @@
+using System.Collections;
+using UnityEngine;
+using UnityEngine.UIElements;
+
+public class OrbManager : MonoBehaviour
+{
+    public GameObject prefab;
+    public int orbsToSpawn;
+    private int orbsSpawned;
+    public int spawnRadius;
+
+    private GameObject player;
+
+    public IEnumerator StartSpawn()
+    {
+        player = GameObject.Find("Player");
+        orbsSpawned = 0;
+
+        yield return new WaitForSeconds(5);
+        while (orbsSpawned < orbsToSpawn)
+        {
+            TrySpawnOrb();
+        }
+    }
+
+    void TrySpawnOrb()
+    {
+        float xRadius = UnityEngine.Random.Range(-spawnRadius, spawnRadius);
+        float zRadius = UnityEngine.Random.Range(-spawnRadius, spawnRadius);
+
+        Vector3 randomRadiusVector = new Vector3(xRadius, 0, zRadius);
+        Vector3 rayStart = player.transform.position + Vector3.up * 300 + randomRadiusVector;
+
+        if (Physics.Raycast(rayStart, Vector3.down, out RaycastHit hit, 600f))
+        {
+            if (hit.point.y < OrbData.maxHeight && hit.point.y > OrbData.minHeight)
+            {
+                UnityEngine.Object.Instantiate(prefab, hit.point + new Vector3(0f, 0.75f, 0f), Quaternion.identity);
+                orbsSpawned++;
+            }
+        }
+    }
+}

+ 2 - 0
Assets/Scripts/Terrain/OrbManager.cs.meta

@@ -0,0 +1,2 @@
+fileFormatVersion: 2
+guid: c5c66aa02655b514e81d72d048dba9b8

+ 8 - 0
Assets/UI.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: dc5f4084889bd7442bb6f88918fcbd3b
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

BIN
Assets/UI/pause.png


+ 117 - 0
Assets/UI/pause.png.meta

@@ -0,0 +1,117 @@
+fileFormatVersion: 2
+guid: 852990dc3653e8d479774316b82dd6a3
+TextureImporter:
+  internalIDToNameTable: []
+  externalObjects: {}
+  serializedVersion: 13
+  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
+    flipGreenChannel: 0
+  isReadable: 0
+  streamingMipmaps: 0
+  streamingMipmapsPriority: 0
+  vTOnly: 0
+  ignoreMipmapLimit: 0
+  grayScaleToAlpha: 0
+  generateCubemap: 6
+  cubemapConvolution: 0
+  seamlessCubemap: 0
+  textureFormat: 1
+  maxTextureSize: 2048
+  textureSettings:
+    serializedVersion: 2
+    filterMode: 0
+    aniso: 1
+    mipBias: 0
+    wrapU: 1
+    wrapV: 1
+    wrapW: 1
+  nPOTScale: 0
+  lightmap: 0
+  compressionQuality: 50
+  spriteMode: 1
+  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: 1
+  spriteTessellationDetail: -1
+  textureType: 8
+  textureShape: 1
+  singleChannelComponent: 0
+  flipbookRows: 1
+  flipbookColumns: 1
+  maxTextureSizeSet: 0
+  compressionQualitySet: 0
+  textureFormatSet: 0
+  ignorePngGamma: 0
+  applyGammaDecoding: 0
+  swizzle: 50462976
+  cookieLightType: 0
+  platformSettings:
+  - serializedVersion: 4
+    buildTarget: DefaultTexturePlatform
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  - serializedVersion: 4
+    buildTarget: Standalone
+    maxTextureSize: 2048
+    resizeAlgorithm: 0
+    textureFormat: -1
+    textureCompression: 1
+    compressionQuality: 50
+    crunchedCompression: 0
+    allowsAlphaSplitting: 0
+    overridden: 0
+    ignorePlatformSupport: 0
+    androidETC2FallbackOverride: 0
+    forceMaximumCompressionQuality_BC6H_BC7: 0
+  spriteSheet:
+    serializedVersion: 2
+    sprites: []
+    outline: []
+    customData: 
+    physicsShape: []
+    bones: []
+    spriteID: 5e97eb03825dee720800000000000000
+    internalID: 0
+    vertices: []
+    indices: 
+    edges: []
+    weights: []
+    secondaryTextures: []
+    spriteCustomMetadata:
+      entries: []
+    nameFileIdTable: {}
+  mipmapLimitGroupName: 
+  pSDRemoveMatte: 0
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác