Method InjectFunctionality
InjectFunctionality(List<object>, List<IFunctionalityProvider>)
Inject functionality on a list of objects
Declaration
public void InjectFunctionality(List<object> objects, List<IFunctionalityProvider> newProviders = null)
Parameters
Type | Name | Description |
---|---|---|
List<object> | objects | The list of objects on which to inject functionality |
List<IFunctionalityProvider> | newProviders | Functionality providers which were created to fulfill required functionality |
Implements
InjectFunctionality(List<IFunctionalitySubscriber>, List<IFunctionalityProvider>)
Inject functionality on a list of subscribers
Declaration
public void InjectFunctionality(List<IFunctionalitySubscriber> objects, List<IFunctionalityProvider> newProviders = null)
Parameters
Type | Name | Description |
---|---|---|
List<IFunctionalitySubscriber> | objects | The list of IFunctionalitySubscriber objects on which to inject functionality |
List<IFunctionalityProvider> | newProviders | Functionality providers which were created to fulfill required functionality |
InjectFunctionality(Scene)
Inject functionality on an entire scene, assuming that
Declaration
public void InjectFunctionality(Scene scene)
Parameters
Type | Name | Description |
---|---|---|
Scene | scene |
InjectFunctionality(GameObject)
Inject functionality on all components of a GameObject which implement IFunctionalitySubscriber
Declaration
public void InjectFunctionality(GameObject go)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go | The GameObject from which to collect components |