Home

Awesome

<img alt="logo" height="26" src="https://github.com/user-attachments/assets/9d9dac2f-bfa5-4510-9d88-fe28ffcc1619"/> Sub Asset Editor <!-- omit in toc -->



PRs Welcome

<< 📝 Description | 📌 Key Features | ⚙ Installation | 🚀 Usage | 🤝 Contributing >>

📝 Description <!-- omit in toc -->

Sub Asset Editor is an editor tool for adding, removing, and editing sub-assets within your project.


<br><br>

📌 Key Features

<br><br>

⚙ Installation

This package requires Unity 5.5 or later.

Install via OpenUPM

Install via UPM (with Package Manager UI)

Install via UPM (Manually)

Install as Embedded Package

  1. Download the Source code (zip) file from Releases and extract it.
  2. Move the <extracted_dir>/Packages/src directory into your project's Packages directory.
    • You can rename the src directory if needed.
    • If you intend to fix bugs or add features, installing it as an embedded package is recommended.
    • To update the package, re-download it and replace the existing contents.

<br><br>

🚀 Usage

  1. Install the package.
  2. Open the Sub Asset Editor from Assets > Edit Sub Asset.
    • You can also access it via the context menu by right-clicking an asset and selecting Edit Sub Asset.
  3. Select a main asset.
  4. To add a sub-asset, drag and drop an asset onto <img height="16" src="https://github.com/user-attachments/assets/6f51f9cc-049f-4bed-8865-5328327a9b99"/> or click the "+" button.
  5. To remove a sub-asset, click the "-" button.
  6. To rename a sub-asset, edit its name directly in the text field.
  7. To toggle the visibility of a sub-asset, click <img height="14" src="https://github.com/user-attachments/assets/3336fe78-3429-46d4-8076-8e68955d87a1"/> or <img height="14" src="https://github.com/user-attachments/assets/1b03a5b2-7b0a-4246-9a63-c24693feca50"/>.
  8. If a sub-asset is referenced by the main asset, <img height="14" src="https://github.com/user-attachments/assets/f7f8b37b-6a6a-4d18-99e3-0c67820679fa"/> will be displayed.
  9. Enjoy!

<br><br>

🤝 Contributing

Issues

Issues are incredibly valuable to this project:

Pull Requests

Pull requests offer a fantastic way to contribute your ideas to this repository.
Please refer to CONTRIBUTING.md and use develop branch for development.

Support

This is an open-source project developed during my spare time.
If you appreciate it, consider supporting me.
Your support allows me to dedicate more time to development. 😊


<br><br>

License

Author

See Also