|
Hunger
Jun 12, 2019 4:14:20 GMT
Post by Haradan on Jun 12, 2019 4:14:20 GMT
Hello!) I want to say thank you for such wonderful Assets! I am new to programming, I still have little experience, and therefore maybe my question will sound silly. I ran into a little problem.
I needed to make an additional character status bar, let's call it “Hunger”, and the idea was to duplicate “Stamina” and adjust it to the new parameter, turning off all unnecessary and leaving only interaction with objects and adding death to the character. But my experience was not enough, and I could not find a script responsible for this indicator ...
Help please, I do not ask for a ready-made solution, just help to understand the structure of the scripts! How can I copy this?)
|
|
|
Post by Invector on Jun 12, 2019 13:28:31 GMT
The best approach is using the Add-ons method, meaning, you will create a new script that accesses the controller instead of modifying the controller itself which in the future can cause issues when updating to a newer version
|
|
|
Hunger
Jun 12, 2019 14:41:28 GMT
Post by Haradan on Jun 12, 2019 14:41:28 GMT
Thanks for the answer!
|
|