'Unity getComponent not updating correct value
I am trying to update a variable in a player movement prefab class. In my update function in a different script I set that player movement value to false. However in the update function of the player movement class, the player movement value is set to true when discovered through debugging.
Any help?
Edit: I am trying to change the variable of a photon instantiated object. Maybe this is the problem?
DisableMove, is the value that remains false
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


