diff --git a/_application_settings_8cs.html b/_application_settings_8cs.html new file mode 100644 index 0000000..782e4dd --- /dev/null +++ b/_application_settings_8cs.html @@ -0,0 +1,119 @@ + + +
+ + + + +
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationSettings |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationSettingsEvent |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationSettingsSignal |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationSettingsSignalEditor |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationSettingsValueReference |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationSetup |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationSetupEditor |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationWrapper |
+Namespaces | |
namespace | Signals.Utils.Engine |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Classes | |
class | Signals.Utils.Engine.ApplicationWrapperEditor |
+Namespaces | |
namespace | Signals.Utils.Engine |
-Protected Member Functions | |
override bool | ValidateValue (float value) |
Protected Member Functions inherited from Signals.Signal< float, FloatEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< float, FloatEvent > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< float, FloatEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< float, FloatEvent > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (int value) |
Protected Member Functions inherited from Signals.Signal< int, IntEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< int, IntEvent > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< int, IntEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< int, IntEvent > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (Quaternion value) |
Protected Member Functions inherited from Signals.Signal< Quaternion, QuaternionEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< Quaternion, QuaternionEvent > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< Quaternion, QuaternionEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< Quaternion, QuaternionEvent > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (string value) |
Protected Member Functions inherited from Signals.Signal< string, StringEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< string, StringEvent > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< string, StringEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< string, StringEvent > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (Vector2Int value) |
Protected Member Functions inherited from Signals.Signal< Vector2Int, Vector2IntEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< Vector2Int, Vector2IntEvent > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< Vector2Int, Vector2IntEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< Vector2Int, Vector2IntEvent > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (Vector2 value) |
Protected Member Functions inherited from Signals.Signal< Vector2, Vector2Event > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< Vector2, Vector2Event > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< Vector2, Vector2Event > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< Vector2, Vector2Event > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (Vector3Int value) |
Protected Member Functions inherited from Signals.Signal< Vector3Int, Vector3IntEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< Vector3Int, Vector3IntEvent > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< Vector3Int, Vector3IntEvent > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< Vector3Int, Vector3IntEvent > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (Vector3 value) |
Protected Member Functions inherited from Signals.Signal< Vector3, Vector3Event > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< Vector3, Vector3Event > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< Vector3, Vector3Event > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< Vector3, Vector3Event > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
-Protected Member Functions | |
override bool | ValidateValue (Vector4 value) |
Protected Member Functions inherited from Signals.Signal< Vector4, Vector4Event > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Signals.Signal< Vector4, Vector4Event > | |
static implicit | operator T (Signal< T, ET > signal) |
Implicit cast from the Signal to it's Value. More... | |
Protected Member Functions inherited from Signals.Signal< Vector4, Vector4Event > | |
virtual bool | ValidateValue (T value) |
Override this method to check whether a value is valid and/or if it has changed. If UseValidation is true the Value is set and the OnChanged event is invoked only if this method returns true. More... | |
Properties inherited from Signals.Signal< Vector4, Vector4Event > | |
T | InitialValue [get, set] |
The initial value of the Signal. More... | |
True if new values are validated, false otherwise. More... | |
-
|
- -protected | -
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
This is the complete list of members for Signals.Examples.FallingCube, including all inherited members.
+ResetBelow | Signals.Examples.FallingCube | |
ResetTo | Signals.Examples.FallingCube |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Public Attributes | |
float | ResetBelow = -6f |
float | ResetTo = 6f |
float Signals.Examples.FallingCube.ResetBelow = -6f | +
float Signals.Examples.FallingCube.ResetTo = 6f | +
This is the complete list of members for Signals.Example.Vector3Text, including all inherited members.
+This is the complete list of members for Signals.Examples.GravityYSignalUpdater, including all inherited members.
SetText(Vector3 value) | Signals.Example.Vector3Text | |
Signal | Signals.Examples.GravityYSignalUpdater |
-Additional Inherited Members | |
Public Member Functions inherited from Signals.ValueReferenceDrawer | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
+Public Attributes | |
FloatSignal | Signal |
FloatSignal Signals.Examples.GravityYSignalUpdater.Signal | +
Public Attributes | |
StringSignal | LookingAtSignal |
Vector3Signal | DestinationSignal |
StringSignal | LookingAtSignal |
Vector3Signal | DestinationSignal |
Vector3Signal Signals.Example.InputSystem.DestinationSignal | +Vector3Signal Signals.Examples.InputSystem.DestinationSignal |
StringSignal Signals.Example.InputSystem.LookingAtSignal | +StringSignal Signals.Examples.InputSystem.LookingAtSignal |
This is the complete list of members for Signals.Example.Logger, including all inherited members.
+This is the complete list of members for Signals.Examples.Logger, including all inherited members.
LogMovementInput(Vector3 position) | Signals.Example.Logger | |
LogUnderMousePointer(string name) | Signals.Example.Logger | |
LogMovementInput(Vector3 position) | Signals.Examples.Logger | |
LogUnderMousePointer(string name) | Signals.Examples.Logger |
Public Member Functions | |
void | LogMovementInput (Vector3 position) |
void | LogUnderMousePointer (string name) |
void | LogMovementInput (Vector3 position) |
void | LogUnderMousePointer (string name) |
void Signals.Example.Logger.LogMovementInput | +void Signals.Examples.Logger.LogMovementInput | ( | Vector3 | position | ) | @@ -128,14 +128,14 @@
void Signals.Example.Logger.LogUnderMousePointer | +void Signals.Examples.Logger.LogUnderMousePointer | ( | string | name | ) | @@ -147,14 +147,14 @@
Value | Signals.Example.Name | |
Value | Signals.Examples.Name |
Public Attributes | |
StringValueReference | Value |
StringValueReference | Value |
StringValueReference Signals.Example.Name.Value | +StringValueReference Signals.Examples.Name.Value |
This is the complete list of members for Signals.Example.InputSystem, including all inherited members.
+This is the complete list of members for Signals.Examples.TextSetter, including all inherited members.
DestinationSignal | Signals.Example.InputSystem | |
LookingAtSignal | Signals.Example.InputSystem | |
SetText(float value) | Signals.Examples.TextSetter | |
SetText(Vector3 value) | Signals.Examples.TextSetter |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Public Member Functions | |
void | SetText (float value) |
void | SetText (Vector3 value) |
void Signals.Examples.TextSetter.SetText | +( | +float | +value | ) | ++ |
void Signals.Examples.TextSetter.SetText | +( | +Vector3 | +value | ) | ++ |
This is the complete list of members for Signals.Common.Vector4ValueReferenceDrawer, including all inherited members.
+This is the complete list of members for Signals.Examples.TimeScaleSignalUpdater, including all inherited members.
OnGUI(Rect position, SerializedProperty property, GUIContent label) | Signals.ValueReferenceDrawer | |
Signal | Signals.Examples.TimeScaleSignalUpdater |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Public Attributes | |
FloatSignal | Signal |
FloatSignal Signals.Examples.TimeScaleSignalUpdater.Signal | +
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
This is the complete list of members for Signals.Utils.Engine.ApplicationSettings, including all inherited members.
+
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Public Member Functions | |
void | Apply () |
void | SetToCurrent () |
+Properties | |
int | TargetFrameRate [get, set] |
bool | RunInBackground [get, set] |
ThreadPriority | BackgroundLoadingPriority [get, set] |
void Signals.Utils.Engine.ApplicationSettings.Apply | +( | +) | ++ |
Implements Signals.Utils.Engine.ISettings.
+ +void Signals.Utils.Engine.ApplicationSettings.SetToCurrent | +( | +) | ++ |
Implements Signals.Utils.Engine.ISettings.
+ +
+
|
+ +getset | +
+
|
+ +getset | +
+
|
+ +getset | +
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
This is the complete list of members for Signals.Utils.Engine.ApplicationSettingsSignal, including all inherited members.
+Apply() | Signals.Utils.Engine.SettingsSignal< ApplicationSettings, ApplicationSettingsEvent > | |
SetToCurrent() | Signals.Utils.Engine.SettingsSignal< ApplicationSettings, ApplicationSettingsEvent > |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Additional Inherited Members | |
Public Member Functions inherited from Signals.Utils.Engine.SettingsSignal< ApplicationSettings, ApplicationSettingsEvent > | |
void | SetToCurrent () |
void | Apply () |
This is the complete list of members for Signals.Common.Vector2IntValueReferenceDrawer, including all inherited members.
+This is the complete list of members for Signals.Utils.Engine.ApplicationSettingsSignalEditor, including all inherited members.
OnGUI(Rect position, SerializedProperty property, GUIContent label) | Signals.ValueReferenceDrawer | |
OnInspectorGUI() | Signals.Utils.Engine.SettingsSignalEditor< ApplicationSettings, ApplicationSettingsEvent > |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Additional Inherited Members | |
Public Member Functions inherited from Signals.Utils.Engine.SettingsSignalEditor< ApplicationSettings, ApplicationSettingsEvent > | |
override void | OnInspectorGUI () |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
This is the complete list of members for Signals.Utils.Engine.ApplicationSettingsValueReference, including all inherited members.
+
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Additional Inherited Members | |
Public Member Functions inherited from Signals.ValueReference< ApplicationSettings, ApplicationSettingsEvent, ApplicationSettingsSignal > | |
ValueReference () | |
Default constructor. More... | |
ValueReference (T localValue) | |
Constructor for a ValueReference which uses a LocalValue. More... | |
Static Public Member Functions inherited from Signals.ValueReference< ApplicationSettings, ApplicationSettingsEvent, ApplicationSettingsSignal > | |
static implicit | operator T (ValueReference< T, ET, ST > reference) |
Implicit cast from the ValueReference to it's Value. More... | |
Properties inherited from Signals.ValueReference< ApplicationSettings, ApplicationSettingsEvent, ApplicationSettingsSignal > | |
bool | UseLocalValue [get, set] |
False if a Signal's Signal.Value is used, true if LocalValue is used. More... | |
ST | Signal [get, set] |
The Signal whose Signal.Value is used if UseLocalValue is false. More... | |
T | LocalValue [get, set] |
The value which is used if UseLocalValue is true. More... | |
T | Value [get, set] |
The Signal.Value of the Signal if UseLocalValue is false, the LocalValue otherwise. More... | |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
This is the complete list of members for Signals.Utils.Engine.ApplicationSetup, including all inherited members.
+
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Additional Inherited Members | |
Public Member Functions inherited from Signals.Utils.Engine.Setup< ApplicationSettings, ApplicationSettingsEvent, ApplicationSettingsSignal, ApplicationSettingsValueReference > | |
void | SetToCurrent () |
void | Apply () |
Properties inherited from Signals.Utils.Engine.Setup< ApplicationSettings, ApplicationSettingsEvent, ApplicationSettingsSignal, ApplicationSettingsValueReference > | |
VT | Settings [get] |
bool | ApplyOnStart [get, set] |
This is the complete list of members for Signals.Common.Vector3ValueReferenceDrawer, including all inherited members.
+This is the complete list of members for Signals.Utils.Engine.ApplicationSetupEditor, including all inherited members.
OnGUI(Rect position, SerializedProperty property, GUIContent label) | Signals.ValueReferenceDrawer | |
OnInspectorGUI() | Signals.Utils.Engine.SetupEditor< ApplicationSetup > |
Additional Inherited Members | |
Public Member Functions inherited from Signals.ValueReferenceDrawer | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
Public Member Functions inherited from Signals.Utils.Engine.SetupEditor< ApplicationSetup > | |
override void | OnInspectorGUI () |
This is the complete list of members for Signals.Common.Vector3IntValueReferenceDrawer, including all inherited members.
+This is the complete list of members for Signals.Utils.Engine.PhysicsSettingsSignalEditor, including all inherited members.
OnGUI(Rect position, SerializedProperty property, GUIContent label) | Signals.ValueReferenceDrawer | |
OnInspectorGUI() | Signals.Utils.Engine.SettingsSignalEditor< PhysicsSettings, PhysicsSettingsEvent > |
Additional Inherited Members | |
Public Member Functions inherited from Signals.ValueReferenceDrawer | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
Public Member Functions inherited from Signals.Utils.Engine.SettingsSignalEditor< PhysicsSettings, PhysicsSettingsEvent > | |
override void | OnInspectorGUI () |
This is the complete list of members for Signals.Common.Vector2ValueReferenceDrawer, including all inherited members.
+This is the complete list of members for Signals.Utils.Engine.PhysicsSetupEditor, including all inherited members.
OnGUI(Rect position, SerializedProperty property, GUIContent label) | Signals.ValueReferenceDrawer | |
OnInspectorGUI() | Signals.Utils.Engine.SetupEditor< PhysicsSetup > |
Additional Inherited Members | |
Public Member Functions inherited from Signals.ValueReferenceDrawer | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
Public Member Functions inherited from Signals.Utils.Engine.SetupEditor< PhysicsSetup > | |
override void | OnInspectorGUI () |
Public Member Functions | |
void | SetText (Vector3 value) |
override void | OnInspectorGUI () |
void Signals.Example.Vector3Text.SetText | +override void Signals.Utils.Engine.SetupEditor< T >.OnInspectorGUI | ( | -Vector3 | -value | ) | +) |
This is the complete list of members for Signals.Common.QuaternionValueReferenceDrawer, including all inherited members.
+This is the complete list of members for Signals.Utils.Engine.TimeSettingsSignalEditor, including all inherited members.
OnGUI(Rect position, SerializedProperty property, GUIContent label) | Signals.ValueReferenceDrawer | |
OnInspectorGUI() | Signals.Utils.Engine.SettingsSignalEditor< TimeSettings, TimeSettingsEvent > |
Additional Inherited Members | |
Public Member Functions inherited from Signals.ValueReferenceDrawer | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
Public Member Functions inherited from Signals.Utils.Engine.SettingsSignalEditor< TimeSettings, TimeSettingsEvent > | |
override void | OnInspectorGUI () |
Additional Inherited Members | |
Public Member Functions inherited from Signals.ValueReferenceDrawer | |
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
Public Member Functions inherited from Signals.Utils.Engine.SetupEditor< TimeSetup > | |
override void | OnInspectorGUI () |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Directories | |
directory | Engine |
Files | |
file | EulerAnglesTracker.cs |
Directories | |
directory | Editor |
directory | Editor |
@@ -192,7 +192,7 @@
| file | QuaternionSignalEditor.cs | | file | QuaternionValueReferenceDrawer.cs | | file | StringSignalEditor.cs | | file | StringValueReferenceDrawer.cs | | file | Vector2IntSignalEditor.cs | | file | Vector2IntValueReferenceDrawer.cs | | file | Vector2SignalEditor.cs | | file | Vector2ValueReferenceDrawer.cs | | file | Vector3IntSignalEditor.cs | | file | Vector3IntValueReferenceDrawer.cs | | file | Vector3SignalEditor.cs | | file | Vector3ValueReferenceDrawer.cs | | file | Vector4SignalEditor.cs | | file | Vector4ValueReferenceDrawer.cs | | |
▼ Common | ||||
▼ Editor | ||||
BoolSignalEditor.cs | ||||
BoolValueReferenceDrawer.cs | ||||
CharSignalEditor.cs | ||||
CharValueReferenceDrawer.cs | ||||
FloatSignalEditor.cs | ||||
FloatValueReferenceDrawer.cs | ||||
IntSignalEditor.cs | ||||
IntValueReferenceDrawer.cs | ||||
QuaternionSignalEditor.cs | ||||
QuaternionValueReferenceDrawer.cs | ||||
StringSignalEditor.cs | ||||
StringValueReferenceDrawer.cs | ||||
Vector2IntSignalEditor.cs | ||||
Vector2IntValueReferenceDrawer.cs | ||||
Vector2SignalEditor.cs | ||||
Vector2ValueReferenceDrawer.cs | ||||
Vector3IntSignalEditor.cs | ||||
Vector3IntValueReferenceDrawer.cs | ||||
Vector3SignalEditor.cs | ||||
Vector3ValueReferenceDrawer.cs | ||||
Vector4SignalEditor.cs | ||||
Vector4ValueReferenceDrawer.cs | ||||
BoolEvent.cs | ||||
BoolSignal.cs | ||||
BoolSignalListener.cs | ||||
BoolValueReference.cs | ||||
CharEvent.cs | ||||
CharSignal.cs | ||||
CharSignalListener.cs | ||||
CharValueReference.cs | ||||
FloatEvent.cs | ||||
FloatSignal.cs | ||||
FloatSignalListener.cs | ||||
FloatValueReference.cs | ||||
IntEvent.cs | ||||
IntSignal.cs | ||||
IntSignalListener.cs | ||||
IntValueReference.cs | ||||
QuaternionEvent.cs | ||||
QuaternionSignal.cs | ||||
QuaternionSignalListener.cs | ||||
QuaternionValueReference.cs | ||||
StringEvent.cs | ||||
StringSignal.cs | ||||
StringSignalListener.cs | ||||
StringValueReference.cs | ||||
Vector2Event.cs | ||||
Vector2IntEvent.cs | ||||
Vector2IntSignal.cs | ||||
Vector2IntSignalListener.cs | ||||
Vector2IntValueReference.cs | ||||
Vector2Signal.cs | ||||
Vector2SignalListener.cs | ||||
Vector2ValueReference.cs | ||||
Vector3Event.cs | ||||
Vector3IntEvent.cs | ||||
Vector3IntSignal.cs | ||||
Vector3IntSignalListener.cs | ||||
Vector3IntValueReference.cs | ||||
Vector3Signal.cs | ||||
Vector3SignalListener.cs | ||||
Vector3ValueReference.cs | ||||
Vector4Event.cs | ||||
Vector4Signal.cs | ||||
Vector4SignalListener.cs | ||||
Vector4ValueReference.cs | ||||
▼ Editor | ||||
SignalEditor.cs | ||||
ValueReferenceDrawer.cs | ||||
▼ Example | ||||
▼ Code | ||||
InputSystem.cs | ||||
Logger.cs | ||||
Name.cs | ||||
Vector3Text.cs | ||||
▼ Utils | ||||
EulerAnglesTracker.cs | ||||
PositionTracker.cs | ||||
RotationTracker.cs | ||||
Signal.cs | ||||
SignalListener.cs | ||||
ValueReference.cs |
▼ Code | |
▼ Common | |
▶ Editor | |
BoolEvent.cs | |
BoolSignal.cs | |
BoolSignalListener.cs | |
BoolValueReference.cs | |
CharEvent.cs | |
CharSignal.cs | |
CharSignalListener.cs | |
CharValueReference.cs | |
FloatEvent.cs | |
FloatSignal.cs | |
FloatSignalListener.cs | |
FloatValueReference.cs | |
IntEvent.cs | |
IntSignal.cs | |
IntSignalListener.cs | |
IntValueReference.cs | |
QuaternionEvent.cs | |
QuaternionSignal.cs | |
QuaternionSignalListener.cs | |
QuaternionValueReference.cs | |
StringEvent.cs | |
StringSignal.cs | |
StringSignalListener.cs | |
StringValueReference.cs | |
Vector2Event.cs | |
Vector2IntEvent.cs | |
Vector2IntSignal.cs | |
Vector2IntSignalListener.cs | |
Vector2IntValueReference.cs | |
Vector2Signal.cs | |
Vector2SignalListener.cs | |
Vector2ValueReference.cs | |
Vector3Event.cs | |
Vector3IntEvent.cs | |
Vector3IntSignal.cs | |
Vector3IntSignalListener.cs | |
Vector3IntValueReference.cs | |
Vector3Signal.cs | |
Vector3SignalListener.cs | |
Vector3ValueReference.cs | |
Vector4Event.cs | |
Vector4Signal.cs | |
Vector4SignalListener.cs | |
Vector4ValueReference.cs | |
▼ Editor | |
SignalEditor.cs | |
ValueReferenceDrawer.cs | |
▼ Utils | |
▶ Engine | |
EulerAnglesTracker.cs | |
PositionTracker.cs | |
RotationTracker.cs | |
ISignal.cs | |
Signal.cs | |
SignalListener.cs | |
ValueReference.cs | |
▼ Examples | |
▼ Example0 | |
▶ Code | |
▼ Example1 | |
▶ Code | |
▼ Shared | |
▶ Code |
▶CEditor | |
▶CSignals.ISignal< T, ET > | The Signal interface. |
▶CMonoBehaviour | |
▶CPropertyDrawer | |
▶CScriptableObject | |
▶CSignals.Signal< bool, BoolEvent > | |
▶CSignals.Signal< char, CharEvent > | |
▶CSignals.Signal< float, FloatEvent > | |
▶CSignals.Signal< int, IntEvent > | |
▶CSignals.Signal< Quaternion, QuaternionEvent > | |
▶CSignals.Signal< string, StringEvent > | |
▶CSignals.Signal< Vector2, Vector2Event > | |
▶CSignals.Signal< Vector2Int, Vector2IntEvent > | |
▶CSignals.Signal< Vector3, Vector3Event > | |
▶CSignals.Signal< Vector3Int, Vector3IntEvent > | |
▶CSignals.Signal< Vector4, Vector4Event > | |
▶CSignals.SignalEditor< bool, BoolEvent > | |
▶CSignals.SignalEditor< char, CharEvent > | |
▶CSignals.SignalEditor< float, FloatEvent > | |
▶CSignals.SignalEditor< int, IntEvent > | |
▶CSignals.SignalEditor< Quaternion, QuaternionEvent > | |
▶CSignals.SignalEditor< string, StringEvent > | |
▶CSignals.SignalEditor< Vector2, Vector2Event > | |
▶CSignals.SignalEditor< Vector2Int, Vector2IntEvent > | |
▶CSignals.SignalEditor< Vector3, Vector3Event > | |
▶CSignals.SignalEditor< Vector3Int, Vector3IntEvent > | |
▶CSignals.SignalEditor< Vector4, Vector4Event > | |
▶CSignals.SignalListener< bool, BoolEvent, BoolSignal > | |
▶CSignals.SignalListener< char, CharEvent, CharSignal > | |
▶CSignals.SignalListener< float, FloatEvent, FloatSignal > | |
▶CSignals.SignalListener< int, IntEvent, IntSignal > | |
▶CSignals.SignalListener< Quaternion, QuaternionEvent, QuaternionSignal > | |
▶CSignals.SignalListener< string, StringEvent, StringSignal > | |
▶CSignals.SignalListener< Vector2, Vector2Event, Vector2Signal > | |
▶CSignals.SignalListener< Vector2Int, Vector2IntEvent, Vector2IntSignal > | |
▶CSignals.SignalListener< Vector3, Vector3Event, Vector3Signal > | |
▶CSignals.SignalListener< Vector3Int, Vector3IntEvent, Vector3IntSignal > | |
▶CSignals.SignalListener< Vector4, Vector4Event, Vector4Signal > | |
▶CUnityEvent | |
CSignals.ValueReference< T, ET, ST > | Abstract base class for serializable classes referencing either a LocalValue or a Signal.Value. |
▶CSignals.ValueReference< bool, BoolEvent, BoolSignal > | |
▶CSignals.ValueReference< char, CharEvent, CharSignal > | |
▶CSignals.ValueReference< float, FloatEvent, FloatSignal > | |
▶CSignals.ValueReference< int, IntEvent, IntSignal > | |
▶CSignals.ValueReference< Quaternion, QuaternionEvent, QuaternionSignal > | |
▶CSignals.ValueReference< string, StringEvent, StringSignal > | |
▶CSignals.ValueReference< Vector2, Vector2Event, Vector2Signal > | |
▶CSignals.ValueReference< Vector2Int, Vector2IntEvent, Vector2IntSignal > | |
▶CSignals.ValueReference< Vector3, Vector3Event, Vector3Signal > | |
▶CSignals.ValueReference< Vector3Int, Vector3IntEvent, Vector3IntSignal > | |
▶CSignals.ValueReference< Vector4, Vector4Event, Vector4Signal > | |
▶CSignals.Utils.Engine.ISettings | |
▶CSignals.ISignal< T, ET > | The Signal interface. |
▶CMonoBehaviour | |
▶CPropertyDrawer | |
▶CScriptableObject | |
▶CSignals.Utils.Engine.SettingsSignal< ApplicationSettings, ApplicationSettingsEvent > | |
▶CSignals.Utils.Engine.SettingsSignal< PhysicsSettings, PhysicsSettingsEvent > | |
▶CSignals.Utils.Engine.SettingsSignalEditor< ApplicationSettings, ApplicationSettingsEvent > | |
▶CSignals.Utils.Engine.SettingsSignalEditor< PhysicsSettings, PhysicsSettingsEvent > | |
▶CSignals.Utils.Engine.SettingsSignalEditor< TimeSettings, TimeSettingsEvent > | |
▶CSignals.Utils.Engine.Setup< ApplicationSettings, ApplicationSettingsEvent, ApplicationSettingsSignal, ApplicationSettingsValueReference > | |
▶CSignals.Utils.Engine.Setup< PhysicsSettings, PhysicsSettingsEvent, PhysicsSettingsSignal, PhysicsSettingsValueReference > | |
▶CSignals.Utils.Engine.Setup< TimeSettings, TimeSettingsEvent, TimeSettingsSignal, TimeSettingsValueReference > | |
▶CSignals.Utils.Engine.SetupEditor< ApplicationSetup > | |
▶CSignals.Utils.Engine.SetupEditor< PhysicsSetup > | |
▶CSignals.Utils.Engine.SetupEditor< TimeSetup > | |
▶CSignals.Signal< bool, BoolEvent > | |
▶CSignals.Signal< char, CharEvent > | |
▶CSignals.Signal< float, FloatEvent > | |
▶CSignals.Signal< int, IntEvent > | |
▶CSignals.Signal< Quaternion, QuaternionEvent > | |
▶CSignals.Signal< string, StringEvent > | |
▶CSignals.Signal< TimeSettings, TimeSettingsEvent > | |
▶CSignals.Signal< Vector2, Vector2Event > | |
▶CSignals.Signal< Vector2Int, Vector2IntEvent > | |
▶CSignals.Signal< Vector3, Vector3Event > | |
▶CSignals.Signal< Vector3Int, Vector3IntEvent > | |
▶CSignals.Signal< Vector4, Vector4Event > | |
▶CSignals.SignalEditor< bool, BoolEvent > | |
▶CSignals.SignalEditor< char, CharEvent > | |
▶CSignals.SignalEditor< float, FloatEvent > | |
▶CSignals.SignalEditor< int, IntEvent > | |
▶CSignals.SignalEditor< Quaternion, QuaternionEvent > | |
▶CSignals.SignalEditor< string, StringEvent > | |
▶CSignals.SignalEditor< Vector2, Vector2Event > | |
▶CSignals.SignalEditor< Vector2Int, Vector2IntEvent > | |
▶CSignals.SignalEditor< Vector3, Vector3Event > | |
▶CSignals.SignalEditor< Vector3Int, Vector3IntEvent > | |
▶CSignals.SignalEditor< Vector4, Vector4Event > | |
▶CSignals.SignalListener< bool, BoolEvent, BoolSignal > | |
▶CSignals.SignalListener< char, CharEvent, CharSignal > | |
▶CSignals.SignalListener< float, FloatEvent, FloatSignal > | |
▶CSignals.SignalListener< int, IntEvent, IntSignal > | |
▶CSignals.SignalListener< Quaternion, QuaternionEvent, QuaternionSignal > | |
▶CSignals.SignalListener< string, StringEvent, StringSignal > | |
▶CSignals.SignalListener< Vector2, Vector2Event, Vector2Signal > | |
▶CSignals.SignalListener< Vector2Int, Vector2IntEvent, Vector2IntSignal > | |
▶CSignals.SignalListener< Vector3, Vector3Event, Vector3Signal > | |
▶CSignals.SignalListener< Vector3Int, Vector3IntEvent, Vector3IntSignal > | |
▶CSignals.SignalListener< Vector4, Vector4Event, Vector4Signal > | |
▶CUnityEvent | |
CSignals.ValueReference< T, ET, ST > | Abstract base class for serializable classes referencing either a LocalValue or a Signal.Value. |
▶CSignals.ValueReference< ApplicationSettings, ApplicationSettingsEvent, ApplicationSettingsSignal > | |
▶CSignals.ValueReference< bool, BoolEvent, BoolSignal > | |
▶CSignals.ValueReference< char, CharEvent, CharSignal > | |
▶CSignals.ValueReference< float, FloatEvent, FloatSignal > | |
▶CSignals.ValueReference< int, IntEvent, IntSignal > | |
▶CSignals.ValueReference< PhysicsSettings, PhysicsSettingsEvent, PhysicsSettingsSignal > | |
▶CSignals.ValueReference< Quaternion, QuaternionEvent, QuaternionSignal > | |
▶CSignals.ValueReference< string, StringEvent, StringSignal > | |
▶CSignals.ValueReference< TimeSettings, TimeSettingsEvent, TimeSettingsSignal > | |
▶CSignals.ValueReference< Vector2, Vector2Event, Vector2Signal > | |
▶CSignals.ValueReference< Vector2Int, Vector2IntEvent, Vector2IntSignal > | |
▶CSignals.ValueReference< Vector3, Vector3Event, Vector3Signal > | |
▶CSignals.ValueReference< Vector3Int, Vector3IntEvent, Vector3IntSignal > | |
▶CSignals.ValueReference< Vector4, Vector4Event, Vector4Signal > | |
▶CSignals.Utils.Engine.WrapperEditor< ApplicationWrapper > | |
▶CSignals.Utils.Engine.WrapperEditor< PhysicsWrapper > | |
▶CSignals.Utils.Engine.WrapperEditor< TimeWrapper > |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
This is the complete list of members for Signals.Utils.Engine.ISettings, including all inherited members.
+Apply() | Signals.Utils.Engine.ISettings | |
SetToCurrent() | Signals.Utils.Engine.ISettings |
+ UnitySignals
+
+ Signals for Unity3D
+ |
+
+Public Member Functions | |
void | SetToCurrent () |
void | Apply () |
void Signals.Utils.Engine.ISettings.Apply | +( | +) | ++ |
void Signals.Utils.Engine.ISettings.SetToCurrent | +( | +) | ++ |
If you store a value in a ScriptableObject you might want to get notified when the value changes. On the other hand it can be useful to keep the last value an event was invoked with around. Signals are a solution for both use cases.
Copy everything somewhere into your project's Asset folder.
First you need to create a class for the signal's OnChanged event:
Next create a class for the signal:
By default signals will trigger the OnChanged event whenever a new value is assigned. By overriding the ValidateValue method you can validate the value and/or add a check to avoid unnecessarily triggering the event.
+First you need to create a class for the signal's OnChanged event:
Next create a class for the signal:
By default signals will trigger the OnChanged event whenever a new value is assigned. By overriding the ValidateValue method you can validate the value and/or add a check to avoid unnecessarily triggering the event. By default ValidateValue will use the Equals method for this check.
Then create an editor class for your signal:
Overriding the ValueField method allows you to change the signal's value in the editor when the application is running. By default the value will be shown, but isn't editable.
You must check whether the value was really changed to avoid unnecessary value updates.
By inheriting from SignalListener you can create a Component that listens to a signal's OnChanged event and propagates it:
By inheriting from ValueReference you can use serializable fields in your scripts that can either hold a local value or a reference to a signal's value:
And to make it look nice in the editor:
You can find a simple code generator that can save you a lot of work here.
See Example folder.
You can find a simple code generator that can save you a lot of work here.
See Examples folder.
Signals was inspired by Ryan Hipple's talk about game architecture with ScriptableObjects. I also nicked a bit of his code for the ValueReferenceDrawer class. You can find the source here.
Classes | |
class | InputSystem |
class | FallingCube |
class | Logger |
class | GravityYSignalUpdater |
class | Name |
class | InputSystem |
class | Vector3Text |
class | Logger |
class | Name |
class | TextSetter |
class | TimeScaleSignalUpdater |