Class ReferenceRequester
Inherited by data containers to request references to monobehaviors at runtime. The monobehaviors that operate on these data containers should inherit from ReferenceProvider to be able to provide these references.
Inherited Members
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework
Assembly: LobsterFramework.dll
Syntax
public abstract class ReferenceRequester : ScriptableObject, IEnumerable<Type>, IEnumerable
Methods
| Improve this Doc View SourceGetRequestingTypes()
Implement this to expose the set of types with RequireComponentReferenceAttribute applied within the data container,
Declaration
public abstract IEnumerator<Type> GetRequestingTypes()
Returns
Type | Description |
---|---|
IEnumerator<Type> | The set of requester types this data container has |
RaiseRequirementAddedEvent(Type)
Declaration
protected void RaiseRequirementAddedEvent(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
RaiseRequirementRemovedEvent(Type)
Declaration
protected void RaiseRequirementRemovedEvent(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |