internal static _GetWheelCount GetWheelCount() { if (_GetWheelCountFunc == null) { _GetWheelCountFunc = (_GetWheelCount)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnWheeledVehicle_getWheelCount"), typeof(_GetWheelCount)); } return(_GetWheelCountFunc); }
internal static _GetWheelCount GetWheelCount() { if (_GetWheelCountFunc == null) { _GetWheelCountFunc = (_GetWheelCount)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnWheeledVehicle_getWheelCount"), typeof(_GetWheelCount)); } return(_GetWheelCountFunc); }