Use OnServerConnectedWithAddress and pass the remote client address instead
- This allows Mirror to cache the remote client address to save round-trip calls to the transport
* Added Player, Flyer, Tank Controllers
* and the meta
* Removed NT from Tank prefab
* Additive Scenes Player with new controller
* Updated Examples
* fixed healthbar
* Updated TankController
* Fixed MouseSteer
* Updated PlayerController
* Updated PlayerController
* Tank and Controller Updates
* Updated Tanks Navmesh
* Updated Tanks example
* Fixed Tank Model
* Tanks fixed
* Removed commented code
* Controller updates
* Projectile and Controller updates
* Tanks Navmesh
* Fixed navmesh
* Updated Projectile destroyAfter
* Update NavMesh
* Fixed spawn point
* TTA Scene Update
* TTA NavMesh
* TTA Tank Prefab
* Added Tank SeatedPlayer and turretAcceleration
* TTA Scene update
* TTA Scene higher walls
* Improved Projectile and PlayerTest
* Default Mouse Lock on
* IgnoreCollision
* Updated prefabs
* Latest
* Cleanup
* Disable sync position, Compress Rotation, and animation
- Animation is interfering with the controls and the child NT sync.
* Cleanup Reset on Disconnect
* Removed dead scripts
* feat(Transport): Added OnServerConnectedWithAddress
Transports can now pass the remote client address directly to NetworkServer Action
- Facliltates ThreadedTransport passing the client Address
- KCP Transport Updated accordingly
- Original OnServerConnected passes ServerGetClientAddress result to NetworkConnectionToClient consrtuctor
- Saves round trips back to the transport for client address whenever it's needed
* formatting
* Simplified
* Cleanup
* repro
* NetworkServer.Destroy(): refactor to split scene vs. prefab cases more obviously
* fix: #3832 NetworkServer.Destroy now doesn't call ResetState for prefabs, fixes isServer flag always being false in OnDestroy
* fix the runtime test
* Revert "repro"
This reverts commit 3a5a33e8e4.
---------
Co-authored-by: mischa <info@noobtuts.com>
* Shooter topdown checkpoint 1
* Topdown shooter, checkpoint 2
* Topdown checkpoint 3
* Topdown Checkpoint 4
* Topdown shooter checkpoint 5
* Port added to UI Canvas Prefab. (#3835)
* Topdown Shooter, checkpoint 6, Alpha.
Almost finished, as of now, whats left is:
Tidy up
Comment code
Add server defines
Test server-only
* Topdown shooter, server defines and server only tested. Checkpoint 7.
Remaining: Tidy up and Comment code
* TopDown Shooter finished?
* Topdown shooter, fixed PNG size.
* Topdown Shooter tidyup.
Removed unused materials, that remained from 3D version of game.
3D sound ranges and volumes adjusted.
* Topdown Shooter, audio conversion and compression.
* TopDownShooter, note about OnStartServer player list.
Added line space to separate some code for easier reading.
* feat(NetworkServer): Improves RemovePlayerForConnectsion
- Replaces `destroyServerObject` with `RemovePlayerOptions`
- Option to keep the player object on server and clients
- Obsoletes old method by calling new method with correct option
- Examples and Tests updated
* Fixed mistake
* Default to DoNothing
* Fixed comments
* Requested Changes
* Fixed gammar