private IEnumerator WaitAndCheckJoint()
{
yield return new WaitForFixedUpdate();
if (attachMode.StaticJoint) {
if (StaticAttach.fixedJoint == null) {
KAS_Shared.DebugWarning("WaitAndCheckJoint(Core) Static join broken !");
OnJointBreakStatic();
}
}
if (attachMode.FixedJoint) {
if (FixedAttach.fixedJoint == null) {
KAS_Shared.DebugWarning("WaitAndCheckJoint(Core) Fixed join broken !");
OnJointBreakFixed();
}
}
}