Third Person Controller 3.0.4.
Hello, I found that after removing the equipped item, it is still equipped state in the ObjectPool. For example, CharacterItemAction.IsEquipped.
My solution in this example is to set IsEquipped to false and call RegisterEventsWhileEquippedAndEnabled() when removing the item so that it doesn't have to check again when the item in the ObjectPool is used.
If you have a better way or other places where you can reset equipped state, please improve it, thanks!
Hello, I found that after removing the equipped item, it is still equipped state in the ObjectPool. For example, CharacterItemAction.IsEquipped.
My solution in this example is to set IsEquipped to false and call RegisterEventsWhileEquippedAndEnabled() when removing the item so that it doesn't have to check again when the item in the ObjectPool is used.
If you have a better way or other places where you can reset equipped state, please improve it, thanks!
Last edited: