void OnTriggerStay2D(Collider2D pair) { if ((null != InstanceRoot) && (null != InstanceRoot.FunctionColliderStay)) { BootUp(); InformationStay.Pair2D = pair; InformationStay.Contact2D = null; InstanceRoot.FunctionColliderStay(InstanceRoot, InstanceGamaObject, InstanceRoot.DataAnimation.TableParts[IDParts].Name, IDParts, InformationEnter); } }
void OnCollisionStay2D(Collision2D contacts) { if ((null != InstanceRoot) && (null != InstanceRoot.FunctionColliderStay)) { BootUp(); InformationStay.Pair2D = null; InformationStay.Contact2D = contacts; InstanceRoot.FunctionColliderStay(InstanceRoot, InstanceGamaObject, InstanceRoot.DataAnimation.TableParts[IDParts].Name, IDParts, InformationStay); } }