internal static _SpawnObject SpawnObject() { if (_SpawnObjectFunc == null) { _SpawnObjectFunc = (_SpawnObject)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnSpawnSphere_spawnObject"), typeof(_SpawnObject)); } return(_SpawnObjectFunc); }
internal static _SpawnObject SpawnObject() { if (_SpawnObjectFunc == null) { _SpawnObjectFunc = (_SpawnObject)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnSpawnSphere_spawnObject"), typeof(_SpawnObject)); } return(_SpawnObjectFunc); }