Utility methods to work with types.
More...
|
static System.Type | GetTypeFromName (string typeName) |
| Searches all assemblies for a type with a specified name.
|
|
static System.Reflection.Assembly[] | GetAssemblies () |
|
static System.Type | GetWrapperType (System.Type type) |
| Gets the wrapper type for a Pixel Crushers type, or returns the type itself for a non-Pixel Crushers type.
|
|
Utility methods to work with types.
◆ GetAssemblies()
static System.Reflection.Assembly[] PixelCrushers.RuntimeTypeUtility.GetAssemblies |
( |
| ) |
|
|
inlinestatic |
◆ GetTypeFromName()
static System.Type PixelCrushers.RuntimeTypeUtility.GetTypeFromName |
( |
string |
typeName | ) |
|
|
inlinestatic |
Searches all assemblies for a type with a specified name.
- Parameters
-
typeName | Fully-qualified type name. |
- Returns
- A type, or null if none matches.
◆ GetWrapperType()
static System.Type PixelCrushers.RuntimeTypeUtility.GetWrapperType |
( |
System::Type |
type | ) |
|
|
inlinestatic |
Gets the wrapper type for a Pixel Crushers type, or returns the type itself for a non-Pixel Crushers type.
Wrappers are used to maintain references when switching between source and DLLs.
- Parameters
-
- Returns
- Wrapper type.
The documentation for this class was generated from the following file:
- C:/Dev/Dialogue System/Dev/Release2/Assets/Plugins/Pixel Crushers/Common/Scripts/Misc/RuntimeTypeUtility.cs