|
Post by benezuvys on Apr 3, 2018 8:05:49 GMT
so and, I would to get component Bot AI (health) which I have in Killable.cs Start Hit Points and for this I need to change script Killable.cs or something different ? Than he read health with Bot AI and by change receives bonuses))) Thank you very much in advance per any answer!
|
|
|
Post by DarkTonic Dev on Apr 3, 2018 15:48:39 GMT
Are you saying you want to set start hit points with the value from another script? If so, you would need to subclass Killable and add your code to the AwakeOrStarted method that you override.
|
|