r/Unity2D•
ALPAMA1

Quick question about shield

I want my character to be able to lift a shield and it only defending one side.

Is the best way for this to instantiate a subordinate object with it's own collisions and code when I press the "shield" button and have it be destroyed when I release it?

edit: (It's a 2D game)

Posted May 19, 2022, 1:23 PM UTC · edited

23
Loading comments…