playMaker

Author Topic: [SOLVED]Automatically join two gamepads in the next scene  (Read 180 times)

defchurch

  • Playmaker Newbie
  • *
  • Posts: 2
[SOLVED]Automatically join two gamepads in the next scene
« on: September 22, 2022, 01:18:06 PM »
Hi,

I finally got two gamepads to work in my Street Fighter style game but, I'm not sure how to set it where once the players select their fighters they are already joined in the next scene without pressing any buttons again.  I feel like Unity would have to remember the players have already joined from the previous scene but, I'm not sure if that's correct or how to do that.

Thanks,

Chris   
« Last Edit: September 25, 2022, 04:29:40 AM by defchurch »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7086
    • jinxtergames
Re: Automatically join two gamepads in the next scene
« Reply #1 on: September 24, 2022, 02:31:35 AM »
Hi.
Unity's input system is pretty bad (old and new system)

Rewired is still one of the best controller asset out there.
In the beginning its a bit intimidating but the documentation is well written
and it has Playmaker actions.

There is a free trail on their website.

https://guavaman.com/projects/rewired/

https://assetstore.unity.com/packages/tools/utilities/rewired-21676

defchurch

  • Playmaker Newbie
  • *
  • Posts: 2
[Solved]Re: Automatically join two gamepads in the next scene
« Reply #2 on: September 25, 2022, 04:27:50 AM »
Hi,

Thanks for the info I'm going to check out that controller.  I just found out about "do not destroy on load" and looking into singleton action.  I'll look into what's the most efficient and easiest to use. Thanks!