can't see public variables

Hello,

is there a reason why a can't see a public variable i added in one of opsive scripts :

example: character health script, i added two public texts variables because i want to get the name of attacker and name of character that got attacked but i can't see the two variables on inspector.
 
The Opsive scripts have editors attached to them. It would be necessary to change the associated editor script as well. It is better not to change the Opsive scripts rather make your own that displays what you are interested in.
 
This isnt a answer to the originally asked question, but its a solution for seeing the name of the attacker and who attacked. You make a script and subscribe to the "OnObjectImpact" event. Look at this script and see if this could work for your game as well!
1652709437282.png


Edit: Put this script on the gameobject with the collider attached to it.
 
Last edited:
Top