private void OnGamePacketReceived(GamePacket obj) { Debug.Log($"Game Command: {obj.GameCommand} Received"); switch (obj.GameCommand) { case GameCommand.SEND_HIT: _runtimeManager.CheckEnemysHit(obj); break; case GameCommand.ATTACK_RECEIVE_HIT_RESULT: _runtimeManager.HandleReceivedHit(obj); break; case GameCommand.PLAYER_READY_TO_PLAY: break; default: throw new ArgumentOutOfRangeException(); } }