RiskofThunder-R2API_Addressables icon

R2API Addressables

R2API Submodule for implementing Addressables functionality

Last updated 8 months ago
Total downloads 920757
Total rating 3 
Categories Libraries
Dependency string RiskofThunder-R2API_Addressables-1.0.3
Dependants 350 other packages depend on this package

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2109 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2109
RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
RiskofThunder-R2API_Core-5.0.10 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.0.10

README

R2API.Addressables - Addressable related utility for modding

About

R2API.Addressables is a submodule for R2API that implements systems for working with the AddressablesAPI from Unity.

Currently it adds the AddressReferencedAsset system, which allows you on the Editor or on Code to easily refer to either an explicit Asset, or an Address to said asset.

Changelog

'1.0.3'

  • Fixed a typo on AddressReferencedAsset(UnityEngine.Object) constructor which would incorrectly set UseDirectReference to false
  • Fixed issue where AddressReferencedEquipmentDef wasnt marked as "Serializable"

'1.0.2'

  • Added utility property to check wether an AddressReferencedAsset is "Invalid". Invalid in this instance means that no direct reference to an asset exists, and the string address is null, empty or whitespace.
  • Addedd a utility property to check if an AddressReferencedAsset has a direct reference to an Asset.

'1.0.1'

  • Added missing casting operators and constructors for the bundled in, derived classes of AddressReferencedAsset<T>

'1.0.0'

  • Initial Release