You are viewing a potentially older version of this package. View all versions.
RiskofThunder-R2API_SceneAsset-1.1.1 icon

R2API SceneAsset

API for retrieving assets that live exclusively in game scenes

Date uploaded a year ago
Version 1.1.1
Download link RiskofThunder-R2API_SceneAsset-1.1.1.zip
Downloads 778175
Dependency string RiskofThunder-R2API_SceneAsset-1.1.1

This mod requires the following mods to function

RiskofThunder-HookGenPatcher-1.2.3 icon
RiskofThunder-HookGenPatcher

MMHOOK generation at runtime.

Preferred version: 1.2.3
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-R2API_Core-5.0.12 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.0.12

README

R2API.SceneAsset - Retrieving assets that live exclusively in game scenes

About

R2API.SceneAsset is a submodule assembly for R2API that allows mod creators to obtain Assets that live exclusively in scenes.

Use Cases / Features

R2API.SceneAsset works via the AddAssetRequest method, which allows you to run an Action when the RoR2 splashscreen appears, this internally causes R2API to load the scene you need and later run the event so you can retrieve the specified asset you're looking for.

Related Pages

Changelog

'1.1.1'

  • Fix the game potentially not going past the splash / intro.

'1.1.0'

  • Fix the API not working since SOTV patch.

'1.0.1'

  • Fix the NuGet package which had a dependency on a non-existent version of R2API.Core.

'1.0.0'

  • Split from the main R2API.dll into its own submodule.