PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem Class Reference

This script runs Lua code when the game object receives a "PickUpItem" message. More...

Inheritance diagram for PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem:
Collaboration diagram for PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem:

Public Member Functions

void PickUpItem ()
 
void PickUpItem ()
 

Public Attributes

string luaCode
 

Detailed Description

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.

Member Function Documentation

◆ PickUpItem() [1/2]

void PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem.PickUpItem ( )

◆ PickUpItem() [2/2]

void PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem.PickUpItem ( )

Member Data Documentation

◆ luaCode

string PixelCrushers.DialogueSystem.RealisticFPSPrefab.LuaOnPickUpItem.luaCode

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