コード例 #1
0
            internal static _Deactivate Deactivate()
            {
                if (_DeactivateFunc == null)
                {
                    _DeactivateFunc =
                        (_Deactivate)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicalZone_deactivate"), typeof(_Deactivate));
                }

                return(_DeactivateFunc);
            }
コード例 #2
0
            internal static _Deactivate Deactivate()
            {
                if (_DeactivateFunc == null)
                {
                    _DeactivateFunc =
                        (_Deactivate)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXState_deactivate"), typeof(_Deactivate));
                }

                return(_DeactivateFunc);
            }