Hello, before I begin, please do bear with me if I seem a little hard to understand.
I have a few collisions that I enable at a press of a button in my game (Screenshots will be provided)
However, I would two inputs to trigger the collision because there would be several other collisions to enable.
I want the first button to serve as a passive or a toggle that grants you the ability to activate the collision. Sort of like turning on a fire mode before being able to release fire attacks.
I would really appreciate it if someone could help me with this.
if your just looking to find a way to toggle the easiest way would be to use a flip flop. this would enable in your case the first time the input is pressed collision to be enabled, then the second time inputs pressed collision to be disabled. see the picture below method 1.
another method would be to use a variable to control the flow of the script as in the second method in the picture below. basically on key input you set the variable. its the same basic method as above but just done in a different way.
ok so if im getting you right then as per your example when you press LT it sets the attacks on y b a to be of the flame element, then when you press RB it switches those same attack buttons to water based ones. that seems like the perfect place for a type of switch or select. see picture below for example. let me know if im on the right train of thought.