GameEventManager
Fields
This class has no fields.
Functions
AddListener
Name | Type | Description |
---|---|---|
name | string | Event name which you want to start listen |
callback | function | Callback to handle event |
GameEventManager.AddListener("player_death", function(evt)
evt:SetBool("headshot", true)
end)