internal static _ApplyDamage ApplyDamage() { if (_ApplyDamageFunc == null) { _ApplyDamageFunc = (_ApplyDamage)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "cbLightning_applyDamage"), typeof(_ApplyDamage)); } return(_ApplyDamageFunc); }
internal static _ApplyDamage ApplyDamage() { if (_ApplyDamageFunc == null) { _ApplyDamageFunc = (_ApplyDamage)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "cbLightning_applyDamage"), typeof(_ApplyDamage)); } return(_ApplyDamageFunc); }