How can i get current network player transform object? there is
but it don't give me the transform or gameobject. I am willing to get the transform.
I am able to get current networking player using this line of code:
GameObject currentPlayer = FindObjectOfType<NetworkManager >().client.connection.playerControllers[0].gameObject;
The current NetworkClient being used by the manager.
This is populated when StartClient or StartLocalClient are called.