s
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using System.Collections;
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user