s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user