# AssemblyExtensions

Class in [Yarn.Unity](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.unity)

Inherits from `System.Object`

## Summary

```csharp
public static class AssemblyExtensions
```

## Methods

| Name                                                                                                                                                              | Description                                                                                                                                                       |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetLoadableTypes(Assembly)](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.unity/yarn.unity.assemblyextensions/yarn.unity.assemblyextensions.getloadabletypes) | Assembly.GetTypes() can throw in some cases. This extension will catch that exception and return only the types which were successfully loaded from the assembly. |
