Downloads

< Back to downloads

Custom action for Playmaker and Addressables

Version:
1.0
Format:
Unity package
Dependencies:
BGDatabase, Addressables, Playmaker

Description

Custom actions (under BansheeGz category) for Playmaker to load/unload/process Unity assets from Addressables system

Available actions:

Action Description
BGAddressablesGetAsset Load an asset from addressables system for specified entity and field. For detailed guide- see the section below
BGAddressablesReleaseAsset Release the asset loaded from Addressables using Addressables.Release method
BGAddressablesGetAssets The same as BGAddressablesGetAsset, but allow to load several assets from several fields
BGAddressablesSetAsset Set internal Addressables address for specified field and entity. Internal address can be obtained by using LoadLocations/LoadSpriteLocations actions
BGAddressablesLoadLocations Loads the list of internal addresses (as a string array), using provided key or tag. Internal address can be used as an input for BGAddressablesSetAsset action to set database cell value
BGAddressablesLoadSpriteLocations Loads the list of internal sprites addresses (as a string array), using provided key or tag. Internal address can be used as an input for BGAddressablesSetAsset action to set database cell value

How to use BGAddressablesGetAsset action:

  1. Create UnityEngine.Object variable and assign required type (for example GameObject for prefab field)
  2. Add new State and add BGAddressablesGetAsset action. Assign required table, field and entity. Use variable, you created at step #1 as Result
  3. Use FINISHED event to move to the next state
  4. Use variable to access the asset. You may need to use "Convert" option to convert it to required type (for example, use GameObject prefab field to instantiate the prefab with standard "Create object" Playmaker action)

Releases

Click to see all releases
Version Release date Log
1.0 Sep 16, 2020 Versioning reset (unified plugin infrastructure)
0.1.1 June 09, 2020 N/A
0.1.0 March 17, 2020 Initial release