Exemplo n.º 1
0
            internal static _SetCurrentSlot SetCurrentSlot()
            {
                if (_SetCurrentSlotFunc == null)
                {
                    _SetCurrentSlotFunc =
                        (_SetCurrentSlot)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXController_setCurrentSlot"), typeof(_SetCurrentSlot));
                }

                return(_SetCurrentSlotFunc);
            }
Exemplo n.º 2
0
            internal static _SetCurrentSlot SetCurrentSlot()
            {
                if (_SetCurrentSlotFunc == null)
                {
                    _SetCurrentSlotFunc =
                        (_SetCurrentSlot)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnSFXController_setCurrentSlot"), typeof(_SetCurrentSlot));
                }

                return(_SetCurrentSlotFunc);
            }