Extended-Asset-References

Extended Asset References 🎮

Extended Asset References is an open-source package that enhances Unity’s Addressable Asset System functionality. This package introduces custom attributes designed to improve and streamline your workflow when dealing with AssetReferences.

Compatible with:

✨ Features

  • Custom attributes for enhanced AssetReference handling
  • Improved workflow for Addressable asset management
  • Easy integration with existing Unity projects
  • Visual sprite preview and selection tools
  • Automated atlas validation and problem-solving

📦 Installation

Install via Unity Package Manager using one of these Git URLs:

  • Main branch:
https://github.com/ese9/Extended-Asset-References.git
  • Specific version:
https://github.com/ese9/Extended-Asset-References.git#v1.0.0

🚀 Usage

Once installed, enhance your Unity scripts with our custom attributes for better asset reference management.

Asset Reference Sprite

FromAtlas

using Nine.AssetReferences;
using UnityEngine;
using UnityEngine.AddressableAssets;

public class Resource : ScriptableObject
{
    [FromAtlas]
    public AssetReferenceSprite iconRef;
}

FromSprite

using Nine.AssetReferences;
using UnityEngine;
using UnityEngine.AddressableAssets;

public class Resource : ScriptableObject
{
    [FromSprite]
    public AssetReferenceSprite iconRef;
}

Example of selecting a sprite when using any of the attributes

demo_1

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

Visit original content creator repository https://github.com/ese9/Extended-Asset-References

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *