PixelCrushers.DialogueSystem.CoreGameKit.WorldVariableToLuaListener Class Reference

This component, which is a subclass of CoreGameKit's WorldVariableListener, listens for changes to a world variable. More...

Inheritance diagram for PixelCrushers.DialogueSystem.CoreGameKit.WorldVariableToLuaListener:
Collaboration diagram for PixelCrushers.DialogueSystem.CoreGameKit.WorldVariableToLuaListener:

Public Member Functions

override void UpdateValue (int newValue, int oldVal)
 

Detailed Description

This component, which is a subclass of CoreGameKit's WorldVariableListener, listens for changes to a world variable.

When it changes, this component updates the corresponding Lua variable.

The WorldVariableListener class includes an OnGUI() method that displays the variable's value. You may want to remove this or comment it out.

Member Function Documentation

◆ UpdateValue()

override void PixelCrushers.DialogueSystem.CoreGameKit.WorldVariableToLuaListener.UpdateValue ( int  newValue,
int  oldVal 
)

The documentation for this class was generated from the following file: