摘要:
四元数 Q = ⟨ x , y , z , w ⟩ Q = \langle x, y, z, w \rangle Q=⟨x,y,z,w⟩ Q = x i + y j + z k + w Q = xi + yj + zk + w Q=xi+yj+zk+w 1.运算与性质 1)数乘 Q = s ⋅ ⟨ 阅读全文
摘要:
依赖于Addressable 依赖于单例模板:传送门 using System.Collections.Generic; using System.Security.Cryptography; using System; using UnityEngine; using UnityEngine.Ad 阅读全文
摘要:
C# 单例单例属性 不做过多解释,非面向大众 using System; namespace EasyAVG { public static class SingletonProperty<T> where T : class { private static readonly object loc 阅读全文
摘要:
原理 一个LineRenderer是一次画线,需要使用对象池一帧记录一个鼠标位置 代码 这是线绘制器的代码,依赖于笔者写过的一个简易对象池 传送门:>>对象池 using EasyAVG; using System; using System.Collections.Generic; using U 阅读全文
摘要:
依赖于UniTask(访问Github)依赖于Addressable资源管理(通过UPM安装) using Cysharp.Threading.Tasks; using System; using System.Collections; using System.Collections.Generi 阅读全文