コード例 #1
0
            internal static _SetMissionArea SetMissionArea()
            {
                if (_SetMissionAreaFunc == null)
                {
                    _SetMissionAreaFunc =
                        (_SetMissionArea)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiMissionAreaCtrl_setMissionArea"), typeof(_SetMissionArea));
                }

                return(_SetMissionAreaFunc);
            }
コード例 #2
0
            internal static _SetMissionArea SetMissionArea()
            {
                if (_SetMissionAreaFunc == null)
                {
                    _SetMissionAreaFunc =
                        (_SetMissionArea)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiMissionAreaCtrl_setMissionArea"), typeof(_SetMissionArea));
                }

                return(_SetMissionAreaFunc);
            }