Playmaker Forum
PlayMaker Help & Tips => Android Help => Topic started by: nantian on November 07, 2021, 11:34:28 AM
-
I don't know how to get AndroidJavaObject in Variables. I hope someone can tell me. thank you.
-
Hi.
DO you want to get it from an existing script?
Can you give some more details as it looks like you will need specific custom made actions or a custom script and trigger with some actions
-
Yes, I want to get it from an existing script. It would be nice to declare an androidjavaobject in variables. I want to store this object after performing a custom action.
-
Hi.
DO you want to get it from an existing script?
Can you give some more details as it looks like you will need specific custom made actions or a custom script and trigger with some actions
Is there anybody who can help me? thanks.
-
Hi.
You can use the 'Object' Variable for uncommon variable types
[ObjectType(typeof(AndroidJavaObject))]
public FsmObject aJavaObject;
-
Hi.
You can use the 'Object' Variable for uncommon variable types
[ObjectType(typeof(AndroidJavaObject))]
public FsmObject aJavaObject;
It works! Thank you.
-
Hi.
You can find the Playmaker API here (https://hutonggames.fogbugz.com/default.asp?W127)btw (if you did not know already)
-
In addition to that, I wanted to obtain it from an already existing script. It would be convenient if variables could be used to declare an androidjavaobject. Following the completion of a user-defined action, I want to save this object. Nevertheless, I did understand what was being discussed, and I appreciate you providing Playmaker api link.