Skip to content

fix: not using NativeArrayExtensions.IndexOf as this API changed in 21.0-pre.2#2303

Merged
jeffreyrainy merged 4 commits intodevelopfrom
fix/network-list-collections-2.1.0-pre.2
Nov 10, 2022
Merged

fix: not using NativeArrayExtensions.IndexOf as this API changed in 21.0-pre.2#2303
jeffreyrainy merged 4 commits intodevelopfrom
fix/network-list-collections-2.1.0-pre.2

Conversation

@jeffreyrainy
Copy link
Copy Markdown
Contributor

Simpler usage of int index = m_List.IndexOf(item); instead of removed int index = NativeArrayExtensions.IndexOf(m_List, item);

@jeffreyrainy jeffreyrainy requested a review from a team as a code owner November 9, 2022 19:09
Copy link
Copy Markdown
Contributor

@0xFA11 0xFA11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not to be too picky but fix: or refactor: for the title?

@jeffreyrainy
Copy link
Copy Markdown
Contributor Author

not to be too picky but fix: or refactor: for the title?

Well, it's a build break. This fixes the build ;-). But yeah, I don't care much either way.

I care much more about the fact that 7 hours later Yamato is not even started. Sigh.

@jeffreyrainy jeffreyrainy enabled auto-merge (squash) November 10, 2022 16:46
@jeffreyrainy jeffreyrainy merged commit bbda510 into develop Nov 10, 2022
@jeffreyrainy jeffreyrainy deleted the fix/network-list-collections-2.1.0-pre.2 branch November 10, 2022 17:24
jakobbbb pushed a commit to GooseGirlGames/com.unity.netcode.gameobjects that referenced this pull request Feb 22, 2023
…1.0-pre.2 (Unity-Technologies#2303)

fix: not using NativeArrayExtensions.IndexOf as this API changed in 2.1.0-pre.2

Co-authored-by: ashwini <36935028+ashwinimurt@users.noreply.github.com>
Co-authored-by: Fatih Mar <mfatihmar@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants