Skip to content

Unity Asset, Create/Modify resources floating bar

License

Notifications You must be signed in to change notification settings

Dieedi/FloatingBars

Repository files navigation

Floating Bars (v1)

1. Setup & Usage

This asset is designed to create simple floating bar hover your objects (health bar on player...)

No dependencies are required.

How to use :

After installing the asset, a new item is added in your menu bar allowing to create, edit or destroy a floating bar.

To create a new Floating bar, click on Floating Bars -> Open Creator, a new window will open, in this window you can :

- Name your Floating bar
- Attach it to a gameObject (recommanded ...)
- Add an existing Float Variable or create a new one (Example of variables are given in 'ScriptableObjects Example' directory)
- Add a minimum and maximum Float Variable (still with a Float Variable)
- Add a regen rate Float Variable
- Give a position for the bar
- Give Colors
- Change the Image for your bar

Once 'Mandatory Settings' are filled you can click on 'Add New Floating Bar' button, and that's it, you have your first Floating Bar !

To Edit a Floating Bar, Select the desired Floating Bar in your Hierarchy and go to 'Floating Bars' menu, then 'Edit Bar'. Now you should see the original bar settings but if you change values, your bar will automatically change in your scene allow you to fine tune your bar.

At last, you can destroy your bar by selecting it and go to 'Floating Bars' menu, then 'Destroy Bar'. (this action destroy the bar and the controller component added to the parent GameObject)

2. Links

- If you have any questions, improvements suggestions feel free to mail at pouillotjeremy@gmail.com . I'll try to answer you as best as I can.
- Github repository : https://github.com/Dieedi/FloatingBars

3. FAQ (once i'll have relevant questions)

About

Unity Asset, Create/Modify resources floating bar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages