![]() |
Infohazard.Core 1.4.1
Infohazard Core Utility Library
|
Provides methods for validating objects. More...
Static Public Member Functions | |
static Func< Object, Object > | MustImplement (IReadOnlyList< Type > interfaces) |
Ensures an object (or one of its components, if it's a GameObject) implements a list of interfaces. More... | |
Provides methods for validating objects.
|
static |
Ensures an object (or one of its components, if it's a GameObject) implements a list of interfaces.
If the object is a GameObject and one of its components implements all interfaces, that component will be returned.
interfaces | List of interfaces that must be implemented. |