13 lines
336 B
C#
13 lines
336 B
C#
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; }
|
|
}
|
|
}
|