This commit is contained in:
MuHua-123
2024-11-25 18:32:05 +08:00
parent 72d1f89b54
commit 84243e75a8
353 changed files with 17666 additions and 3206 deletions
+10
View File
@@ -0,0 +1,10 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class VectorTool {
/// <summary> 向量的xyz和 </summary>
public static float VectorSum(this Vector3 v) {
return v.x + v.y + v.z;
}
}