コード例 #1
0
            internal static _SetCollisionTimeout SetCollisionTimeout()
            {
                if (_SetCollisionTimeoutFunc == null)
                {
                    _SetCollisionTimeoutFunc =
                        (_SetCollisionTimeout)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnItem_setCollisionTimeout"), typeof(_SetCollisionTimeout));
                }

                return(_SetCollisionTimeoutFunc);
            }
コード例 #2
0
            internal static _SetCollisionTimeout SetCollisionTimeout()
            {
                if (_SetCollisionTimeoutFunc == null)
                {
                    _SetCollisionTimeoutFunc =
                        (_SetCollisionTimeout)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnItem_setCollisionTimeout"), typeof(_SetCollisionTimeout));
                }

                return(_SetCollisionTimeoutFunc);
            }