Class FloatEventListener
A component which listens to a FloatEvent. In the inspector, drag and drop in the list of responses to set up which funtions will be called when the event is raised. Due to limitations in serializing generic types, public references for both events and responses need to be explicitly written when creating a FloatEventListener
Inherited Members
Namespace: ScriptableFramework
Assembly: cs.temp.dll.dll
Syntax
public class FloatEventListener : AppEventListener<float>
Fields
floatEvent
The event reference to be set in the inspector.
Declaration
public FloatEvent floatEvent
Field Value
Type | Description |
---|---|
FloatEvent |
floatResponse
The response to be set in the inspector.
Declaration
public FloatResponse floatResponse
Field Value
Type | Description |
---|---|
FloatResponse |
Methods
SetInternalEventAndResponse()
After asigning the public event and response, use this to apply those references internally.
Declaration
public override void SetInternalEventAndResponse()
Overrides
ScriptableFramework.AppEventListener<System.Single>.SetInternalEventAndResponse()