예제 #1
0
    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);
        }
    }
예제 #2
0
    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);
        }
    }