Beispiel #1
0
        public bool IsMember(RigidBody body)
        {
            IntPtr pFunc = PropertyFunc.ExGetFunc(base.m_pItem, 3);

            PropertyFunc.ExSetFuncArgObject(pFunc, 0, body.GetPtr());
            bool flag = PropertyFunc.ExFuncInvokeBool(pFunc) != 0;

            PropertyFunc.ExFuncRelease(pFunc);
            return(flag);
        }
Beispiel #2
0
        public bool IsMember(CollisionBody part)
        {
            IntPtr pFunc = PropertyFunc.ExGetFunc(base.m_pItem, 3);

            PropertyFunc.ExSetFuncArgObject(pFunc, 0, part.GetPtr());
            bool flag = PropertyFunc.ExFuncInvokeBool(pFunc) != 0;

            PropertyFunc.ExFuncRelease(pFunc);
            return(flag);
        }