Skip to content

Provides features for efficient use of Unity Addressables.

Notifications You must be signed in to change notification settings

achieveonepark/smart-addressables

Repository files navigation

Smart Addressables

Note: This feature works only when Addressables is installed.

Provides efficient logic for using Unity Addressables, with explanations on caching and releasing memory for each scene.

// Load default Addressable resources
await SmartAddressables.InitializeAsync();

// Load only the assets labeled "titlescene"
var resource = await SmartAddressables.LoadResourcesAsync("titlescene");

// Cache AssetRef in memory
var memoryInObj = resource.GetObject<GameObject>("A/S/D");
Instantiate(memoryInObj);

// Instantiate AssetRef directly
var createObj = resource.Instantiate<GameObject>("A/S/D");

// Release
resource.Release();

About

Provides features for efficient use of Unity Addressables.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages