This script runs Lua code when the game object receives a "PickUpItem" message. More...
Public Member Functions | |
void | PickUpItem () |
void | PickUpItem () |
Public Attributes | |
string | luaCode |
This script runs Lua code when the game object receives a "PickUpItem" message.
For example, you can attach it to a weapon pickup. When the player picks up the weapon, this script will run a Lua statement.
void PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem.PickUpItem | ( | ) |
void PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem.PickUpItem | ( | ) |
string PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem.luaCode |