| 336 | } |
| 337 | |
| 338 | void Asset::DestroyManaged() |
| 339 | { |
| 340 | // Clear reference |
| 341 | if (HasManagedInstance()) |
| 342 | { |
| 343 | RemoveReference(); |
| 344 | } |
| 345 | |
| 346 | // Base |
| 347 | ManagedScriptingObject::DestroyManaged(); |
| 348 | } |
| 349 | |
| 350 | void Asset::OnManagedInstanceDeleted() |
| 351 | { |
nothing calls this directly
no test coverage detected