I have a first person controller-variable in one of my scripts. This references the player. Now I want to change variables in the fps- controller script, e.g. the walk/run speed or the mouse look sensitivity. How can I change those per script in the running game (e.g. throught OnTriggerEnter or sth like that). Thanks in advance!
I think the problem is that all the variables in the fps script are private (I don’t know why). Luckily the fps script is open source, so you can simply change all variables you need to public. Maybe there is a better solution but this worked