//Biggo 修改 public void sendMove() { //Debug.Log("11111" + this._playerEntity.hasBuff(ConfigConstant.BUFF_STUN)); if (this._isChange) { NetAdapter.sendChangeMove(this._playerEntity.uid, this._joyVector.x, this._joyVector.y, this._playerEntity.netId); this.fakeJoystick(this._joyVector); this._isChange = false; } }
///发出摇杆 public void sendMove(Vector2D steeringV2d) { NetAdapter.sendChangeMove(this.player.uid, steeringV2d.x, steeringV2d.y, this.player.netId); if (isSelf) { if (null != _playerView) { if (_playerView is PlayerSelf) { (_playerView as PlayerSelf).fakeJoystick(steeringV2d); } } } }