krghost
Forum Replies Created
-
Forum: Plugins
In reply to: [HoweScape Unity3d WebGL] Retrieve data@pthowe ok so you mean that sending it through shortcode might work?
I’ll definitely give it a try.
Please update if you find out something and I’ll do the same too.Thanks
Forum: Plugins
In reply to: [HoweScape Unity3d WebGL] Retrieve data@pthowe the data I want to pass is simply a string that is the user Id of the user logged into the website.
Forum: Plugins
In reply to: [HoweScape Unity3d WebGL] Retrieve dataHey @pthowe any update?
any feedback (whether possible or not) will be highly appreciated.Thanks
Forum: Plugins
In reply to: [HoweScape Unity3d WebGL] Retrieve dataForum: Plugins
In reply to: [HoweScape Unity3d WebGL] Retrieve dataGreat
So my level editor is a stand-alone (i.e a separate WebGL build apart from the game).
The level will be like a chessboard where the level creator will put predefined NPCs on the squares. There will be a limited number of NPCs with id 1 to n. One of these NPC will be placed on each square on the board.
That is the whole level.To add it into the database when the creator submits, I simply create a (2 x 2)JSON of the current board with the NPC id as a value and then push the JSON into the Level creator’s account.
Now here, the Level JSON info is in the unity WebGL and the user info is on the web browser.
I somehow have to bring them together and push them into the database.Your help would be greatly appreciated
Thank you for your prompt replyForum: Plugins
In reply to: [HoweScape Unity3d WebGL] Retrieve dataI am new to using webgl on wordpress so sorry if the question seems naive.
I wanted to know how to use function like sendMessage() here in this plugin.
Is it callable? If yes, how?. Where do I write it?I am making a level editor where user will create a level for the game and then upload the level data to firebase database.
Initially, I was thinking of retrieving the level data from unity webgl to the browser and then pushing it to the database as I need the user detail present on the website to push it into the database but I think there is no way to do so.So I was thinking of sending the user details to unity webgl from the browser (through a function like sendMessage()) and from unity I’ll push the game data into the database
So is there any way to do either of those mentioned above
I am using unity 2019.4Thank you for your quick reply