using UnityEngine;
{
public abstract class MonoDeltaDetectorUnityBase : MonoBehaviour
{
protected virtual void Reset()
{
}
protected virtual void Start()
{
}
protected virtual void Update()
{
}
}
}
void ResetValues()
One of the primary functions for this class, it will reset the values of all stored attributes....
Definition: DeltaMonitor.cs:330
virtual void Update()
checks if any DeltaAttributed variables have changed, and if so calls the abstract DelktaDetected fun...
Definition: MonoDeltaDetectorUnityBase.cs:47
override void OnAfterDeserialize()
Puts the Serializable monitoredObject field into the live base class member, base....
Definition: DeltaMonitorUnityObject.cs:66
DeltaMonitorUnityObject changeMonitor
[SnippetDeltaMonitorUnityConstructor]
Definition: MonoDeltaDetectorUnityBase.cs:22
virtual void Reset()
Instantiates the changeMonitor class.
Definition: MonoDeltaDetectorUnityBase.cs:28
abstract void DeltaDetected()
Derived classes should override this to define what happens when a change is detected.
ExtensionUnity Classes that are specific to DeltaDetector.
Definition: DeltaMonitorSerialized.cs:8
bool changeResult
Publicly over-writable. If set to true, will remain so until DetectChanges or DetectChangesInSet is c...
Definition: DeltaMonitor.cs:68
bool DetectChanges()
One of the primary functions for this class, it will check attributes to see if their value has chang...
Definition: DeltaMonitor.cs:262
virtual void Start()
Stores initial values for changeMonitor on Start. Also invokes DetectChanges() once,...
Definition: MonoDeltaDetectorUnityBase.cs:35