This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...
Additional Inherited Members | |
Public Types inherited from PixelCrushers.DialogueSystem.IncrementOnDestroy | |
enum | IncrementOn { Destroy , Disable , Manually } |
Public Member Functions inherited from PixelCrushers.DialogueSystem.IncrementOnDestroy | |
virtual void | OnEnable () |
Only listen for OnDestroy if the script has been enabled. | |
virtual void | OnLevelWillBeUnloaded () |
If the level is being unloaded, this GameObject will be destroyed. | |
virtual void | OnApplicationQuit () |
If the application is ending, don't listen, as this can log errors in the console. | |
virtual void | OnDestroy () |
When this object is destroyed, increment the counter and update the quest tracker if incrementOn is set to Destroy. | |
virtual void | OnDisable () |
When this object is disabled, increment the counter and update the quest tracker if incrementOn is set to Disable. | |
virtual void | TryIncrement () |
Try to increment variable if conditions are met. | |
Public Attributes inherited from PixelCrushers.DialogueSystem.IncrementOnDestroy | |
IncrementOn | incrementOn = IncrementOn.Destroy |
string | variable = string.Empty |
The variable to increment. | |
int | increment = 1 |
The increment amount. | |
int | min = 0 |
The minimum value. | |
int | max = 100 |
The maximum value. | |
string | alertMessage = string.Empty |
float | alertDuration = 0 |
Condition | condition = new Condition() |
UnityEvent | onIncrement = new UnityEvent() |
Protected Member Functions inherited from PixelCrushers.DialogueSystem.IncrementOnDestroy | |
virtual void | Awake () |
virtual bool | CanIncrement () |
Are the conditions correct to increment? | |
virtual void | IncrementNow () |
Increments variable. | |
Protected Attributes inherited from PixelCrushers.DialogueSystem.IncrementOnDestroy | |
bool | listenForOnDestroy = false |
bool | awakeMarkedForDestroy = false |
Properties inherited from PixelCrushers.DialogueSystem.IncrementOnDestroy | |
virtual string | actualVariableName [get] |
string | ActualVariableName [get] |
This wrapper class keeps references intact if you switch between the compiled assembly and source code versions of the original class.