internal static _GetDamageLocation GetDamageLocation() { if (_GetDamageLocationFunc == null) { _GetDamageLocationFunc = (_GetDamageLocation)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnPlayer_getDamageLocation"), typeof(_GetDamageLocation)); } return(_GetDamageLocationFunc); }
internal static _GetDamageLocation GetDamageLocation() { if (_GetDamageLocationFunc == null) { _GetDamageLocationFunc = (_GetDamageLocation)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnPlayer_getDamageLocation"), typeof(_GetDamageLocation)); } return(_GetDamageLocationFunc); }