refactor: replacing custom pool implementation with ObjectPool [MTT-6263] by LPLafontaineB · Pull Request #824 · Unity-Technologies/com.unity.multiplayer.samples.coop

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@LPLafontaineB

Copy link Copy Markdown

Contributor

@LPLafontaineB LPLafontaineB commented

Apr 20, 2023

edited

Loading

Description

This PR replaces our custom pool implementation using queues with the ObjectPool collection. It also removes the methods InitializePool and ClearPool and moves their content in OnNetworkSpawn and OnNetworkDespawn

Issue Number(s)

MTT-6263 & MTT-4696

Contribution checklist

  • [n/a] Tests have been added for boss room and/or utilities pack
  • Release notes have been added to the project changelog file and/or package changelog file
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • JIRA ticket ID is in the PR title or at least one commit message
  • Include the ticket ID number within the body message of the PR to create a hyperlink
  • [n/a] An Index entry has been added in readme.md if applicable

@LPLafontaineB LPLafontaineB added 1-Needs Review

PR needs attention from the assignee and reviewers

2-Easy

This PR is trivial and can be reviewed quickly

labels

Apr 20, 2023

@LPLafontaineB LPLafontaineB marked this pull request as ready for review

April 20, 2023 20:17

@LPLafontaineB LPLafontaineB removed the 2-Easy

This PR is trivial and can be reviewed quickly

label

Apr 20, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@SamuelBellomo SamuelBellomo SamuelBellomo approved these changes

@fernando-cortez fernando-cortez Awaiting requested review from fernando-cortez

Labels

1-Needs Review

PR needs attention from the assignee and reviewers

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@LPLafontaineB @SamuelBellomo @fernando-cortez