Playmaker Forum

PlayMaker News => General Discussion => Topic started by: InbalTal on May 31, 2019, 01:19:46 AM

Title: Solved - Call Method Function on mobile Device
Post by: InbalTal on May 31, 2019, 01:19:46 AM
Hi!
I need your help about Something Strange that happened when I Use The Call Method Function when I Send the App to my mobile Device:
1. I use Unity 2019.1.3f1, Playmaker ver. 1.9.0.p16, Vuforia 8.1.11
2. On my action, I use the first state with the On Click Function on a UI Button And After that, I use another state with the call method function that has the behavior of video player and method of play
I have to mention that the video component is not on Play on awake
3. In the game window when I test it,  everything is working fine BUT when I send the app to my Phone the call method on the UI Button is not working and the Video clip is not Playing  :(
4. I have to say that when I use the play function straight on the UI Button (Scripts) in the inspector panel with the On Click () it is work Ok also on the app in the phone  :)
4. I use this function Before a lot and everything was working fine.
so... please help me to solve the problem. ASAP
Thank's
Inbal
 
Title: Re: Problem Call Method Function on mobile Device
Post by: djaydino on May 31, 2019, 02:21:09 AM
Hi.
Its possible you need to use the Linker Wizard (http://hutonggames.com/playmakerforum/index.php?topic=11126.0)
Title: Re: Problem Call Method Function on mobile Device
Post by: InbalTal on May 31, 2019, 11:09:21 AM
Jean,
Thank's for your answer.
I Download the Linker Wizard
I use it in my State Action as a get property ( isPlaying) and it doesn't work on the play Gamemode

Inbal
Title: Re: Problem Call Method Function on mobile Device
Post by: InbalTal on May 31, 2019, 11:45:24 AM
Jean,
I also have to say that I use this Call Method function with the Play Method on the Previous Version of unity and it's was OK
What get Wrong on the New Version?
Title: Re: Problem Call Method Function on mobile Device
Post by: Fat Pug Studio on May 31, 2019, 12:37:08 PM
Dude, avoid get/set property and call method actions like plague, they'll screw you sooner or later.  It's a simple method, i can write you an action for it, just wait a day or two, i'm smashed from the work week :P
Title: Re: Problem Call Method Function on mobile Device
Post by: InbalTal on May 31, 2019, 02:28:25 PM
krmko,
Thank's for the Suggestion :)

Title: Re: Solved - Call Method Function on mobile Device
Post by: InbalTal on May 31, 2019, 02:49:04 PM
HI

Ok, I found a solution by Download from the Ecosystem the VideoPlayer Package
I test it and it works.

Thanks again :)
Inbal
Title: Re: Problem Call Method Function on mobile Device
Post by: djaydino on May 31, 2019, 04:09:31 PM
Jean,
Thank's for your answer.
I Download the Linker Wizard
I use it in my State Action as a get property ( isPlaying) and it doesn't work on the play Gamemode

Inbal

i am not jean :)

But happy to help
Title: Re: Solved - Call Method Function on mobile Device
Post by: InbalTal on June 01, 2019, 03:56:07 AM
djaydino,

Sorry for the misunderstanding, :o
My Apologies
Appreciate Your Help :D

Inbal