void OnTriggerExit2D(Collider2D pair) { if ((null != InstanceRoot) && (null != InstanceRoot.FunctionColliderExit)) { BootUp(); InformationExit.Pair2D = pair; InformationExit.Contact2D = null; InstanceRoot.FunctionColliderExit(InstanceRoot, InstanceGamaObject, InstanceRoot.DataAnimation.TableParts[IDParts].Name, IDParts, InformationExit); } }
void OnCollisionExit(Collision contacts) { if ((null != InstanceRoot) && (null != InstanceRoot.FunctionColliderExit)) { BootUp(); InformationExit.Pair = null; InformationExit.Contact = contacts; InstanceRoot.FunctionColliderExit(InstanceRoot, InstanceGamaObject, InstanceRoot.DataAnimation.TableParts[IDParts].Name, IDParts, InformationExit); } }