BandoWare / GameplayTags

GameplayTags implementation for Unity
Other
53 stars 3 forks source link

Hello, I have a code issue regarding the use of the CopyTo method #1

Closed SuitedRioter closed 1 month ago

SuitedRioter commented 2 months ago

Is there a problem with using CopyTo in GameplayTagContainer.cs? For example, in line 210, should your Clone method be written in this way: m_Indices.CopyTo(clone.m_Indices); Copy your own index to clone's index?

felipemcoliveira commented 2 months ago

It seems it’s not correct. I’m traveling, and I’ll fix it next week when I return. Thanks for opening the issue!

felipemcoliveira commented 1 month ago

@SuitedRioter I thought I had fixed the bug, but now I have actually resolved it!