YaBackpackConfigComponent¶
Beta
YaBackpackConfigComponent
manages backpack-related configuration.Properties¶
string PickUpAudioIdBeta
The ID of the audio that is played when the item is picked up.
Code sample¶
Example code
-- Prepare the component.
local config = script:GetYaComponent("YaBackpackConfigComponent")
-- Get the ID of the audio that is played when the item is picked up.
local audioId = config.PickUpAudioId