So far I have not needed to send data to the "cloud".
It is necessary to send FunctionParameter Object file which is realized in Jnson?
I need to learn how to send the object file for Unity from the library
Which object? I already tried the options
1.String.String Array
2.String
3.Txt
4.Jnson
How exactly to draw up the data inside the object and which object?
I tried so many options.
Nothing worked out for me
Where am I wrong? Help modify the script so that I can understand if my sending method works at all.
Or does he not see what he needs in the line? new {inputValue = "YOUR NAME"}
Help me write a script that will help me understand if the cloud script accepts the data, what it is, what is wrong with them.
Something is sent exactly, because if you send an empty object, the script swears at empty variableshandlers.helloWorld = function (args, context) {var message = "Hello " + currentPlayerId + "!";log.info(message); var inputValue = null; if (args && args.inputValue) inputValue = args.inputValue; log.debug("helloWorld:", { input: args.inputValue }); return { messageValue: message }; };