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