orkframework.com/guide/tutorials/ui-setups/unity-ui-simple-player-hud/#41-toc-titleI would like to use this alternative setup, but I don't understand the instructions.
It says that I can do it without Prefab, but I can't.
First of all, to keep it simple, I want a TextMeshPro object that displays the Player's HP in a DoozyUI Canvas (Not ORK Generated Canvas).
I don't want to create a Prefab for the HUD.
Reason.
1: Because it will only be used once.
2: Because I want to use the DoozyUICanvas layout that I adjusted in the scene view.
3: Because I don't want to use the layout function of ORK as a Prefab (because it's hard to understand and I'm tired of repeating trial and error by saving ORK and running play mode every time).
4: Because it takes about 10 seconds to enter Play mode every time.
5: Canvas in DoozyUI is not Prefab. It exists in the scene from the beginning, and is always there with Don't Destroy even if the scene changes, and is responsible for all UI Navi with excellent batch changeable UI animations and sounds.
It's easy to customize and can't be removed.
So I want to use SINGLE mode.
screen shots here
https://imgur.com/a/AshGmwxI added Status Value(single) from Hierarchy in DoozyUI Canvas and selected [1:HP] for Status Value.
I want to set a Player in the HUD comopnent because of the [Requires a combatant] description, but I don't know how to do this.
If I play as is, the HUD becomes Disabled.
What should I do from here?
Please tell me how to do this without using prefab.
The HUD Status Value component still needs to be part of a HUD, however. The HUD component (or another content provider component) needs to have a combatant as it's user, or you don't have anywhere to get the status value from.
So, the single status value needs to be part of a HUD prefab that's set up as a Combatant type HUD in the editor.
I can add a new content provider component in the next beta that might make this useable outside of the HUD system.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I tried this.
Very useful. Thank you very much.
This solved many of the problems with CustomUI and ORK integration from ORK2.
■iOS
https://itunes.apple.com/us/app/id679133055
■Android
https://play.google.com/store/apps/details?id=com.WabiPlant.SAMURAI100SlashLite
New ORK Battle Game
■iOS
https://itunes.apple.com/jp/app/id1403510381
■Android
https://play.google.com/store/apps/details?id=com.Company.AgentFight
ORK 3 will release next week, so hopefully access to the new source code will help you with your custom UIs :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Timeout (seconds)
Hold time (sec)
should not be fixed values, but should be set from variables or Fomula.
I want the HoldTime to get shorter each time the player's level increases.
In addition to these settings, I would like to be able to set variables for all settings that can only be entered as fixed values.
I think this would make the game more flexible.
■iOS
https://itunes.apple.com/us/app/id679133055
■Android
https://play.google.com/store/apps/details?id=com.WabiPlant.SAMURAI100SlashLite
New ORK Battle Game
■iOS
https://itunes.apple.com/jp/app/id1403510381
■Android
https://play.google.com/store/apps/details?id=com.Company.AgentFight