This commit is contained in:
MuHua-123
2024-11-29 18:10:02 +08:00
parent 84243e75a8
commit 698464b9d7
81 changed files with 3073 additions and 671 deletions
+6 -6
View File
@@ -3,10 +3,10 @@ using System.Collections.Generic;
using UnityEngine;
public static class DataSutureTool {
public static float SutureLength(this DataSuture suture) {
if (suture.a.MaxLength < suture.b.MaxLength) {
return suture.a.MaxLength;
}
else { return suture.b.MaxLength; }
}
//public static float SutureLength(this DataSuture suture) {
// if (suture.a.MaxLength < suture.b.MaxLength) {
// return suture.a.MaxLength;
// }
// else { return suture.b.MaxLength; }
//}
}