internal static _GetCurrentSlot GetCurrentSlot() { if (_GetCurrentSlotFunc == null) { _GetCurrentSlotFunc = (_GetCurrentSlot)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnSFXController_getCurrentSlot"), typeof(_GetCurrentSlot)); } return(_GetCurrentSlotFunc); }
internal static _GetCurrentSlot GetCurrentSlot() { if (_GetCurrentSlotFunc == null) { _GetCurrentSlotFunc = (_GetCurrentSlot)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnSFXController_getCurrentSlot"), typeof(_GetCurrentSlot)); } return(_GetCurrentSlotFunc); }