suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

Auto Assign Hotkey #2489

Open Gamadorium opened 1 month ago

Gamadorium commented 1 month ago

Hello, I was thinking something like this;

For example, I want to add a hotkey and I want only "HP Pot" to be defined in this hotkey and no other item or skill should be assigned to this shortcut. If there is an HP pot on the character, it should be automatically defined to this shortcut and as it is used, it should decrease from the pot on us. I tried to do this for mobile, but there is a problem. I couldn't get any results, can you give me some guidance?

insthync commented 1 month ago

As I remember I have the script to do it, let me check it, but if it is not then I think you will have to write a component which will be attached to the same game object with the UI Character Hotkey which will assign those items when character's data (cache) updated.

Gamadorium commented 1 month ago

Thank you, I look forward to hearing back from you.

Gamadorium commented 1 month ago

@insthync Should I continue to wait for you on this matter?