文章分类 - Unity
摘要:https://www.youtube.com/watch?v=9vBbg1-Bxcw&list=PLLovDQatxJVP25XJRBVA4J8lthc4a5gyf
阅读全文
摘要:https://blog.csdn.net/pq8888168/article/details/123485863
阅读全文
摘要:public class SaveLoadSystem : Singleton<SaveLoadSystem> { public string SAVE_BACKPACK_DATA_FILE = "SolsticsBackpack.sav";//背包数据 //存储数据 public void Sav
阅读全文
摘要:https://assetstore.unity.com/packages/p/quick-outline-115488
阅读全文
摘要:http://ghostyii.com/uiarrow/
阅读全文
摘要:using UnityEngine; namespace LazyPan { public class CloneUtil { public static T DeepClone<T>(T original) { string json = JsonUtility.ToJson(original);
阅读全文
摘要:https://assetstore.unity.com/packages/vfx/shaders/ultimate-outlines-highlights-235063
阅读全文
摘要:using UnityEngine; public class MaterialTransparent { private enum SurfaceType { Opaque, Transparent } private enum BlendMode { Alpha, Premultiply, Ad
阅读全文
摘要:bool IsOverlap(PolygonCollider2D poly1, PolygonCollider2D poly2) { for (int i = 0; i < poly1.points.Length; i++) { for (int j = 0; j < poly2.points.Le
阅读全文
摘要:https://blog.csdn.net/weixin_43147385/article/details/127077607
阅读全文
摘要:UI之切换按钮图标 public class Lab_UI_Switch : MonoBehaviour { [SerializeField] private bool left; [SerializeField] private float leftBound; [SerializeField]
阅读全文
摘要:https://www.youtube.com/watch?v=u2EQtrdgfNs
阅读全文
摘要:什么是数据持久化?我的理解是数据的存档与读取。 一、常见路径及文件夹 Application.dataPath 项目数据文件所在文件夹 一般是指 Assets Application.streamingAssetsPath 流数据缓存目录,返回路径为相对路径,该路径下文件只读。 问:为什么打包后的该
阅读全文
摘要:using UnityEngine; namespace LazyPan.Tool { public class Singleton<T> : MonoBehaviour where T : MonoBehaviour { static T instance = null; public stati
阅读全文
摘要:using System; using System.Collections.Generic; using UnityEngine; namespace LazyPan.Tool { public enum ClockType { DateTimeClock, UnityTimeClock, } p
阅读全文
摘要:video refer : https://www.youtube.com/watch?v=neoY8aOVHcw public class ReadCSV : MonoBehaviour { public string content; public string fileName; public
阅读全文
摘要:https://www.youtube.com/watch?v=Yjee_e4fICc
阅读全文