Commit 803b1417 authored by Ru Cindrea's avatar Ru Cindrea

Merge branch 'patch-1' into 'master'

The method callComponentMethod was constructing an AltUnityObjectAction with...

See merge request !109
parents d073ed6b 05fbeeb3
......@@ -140,7 +140,7 @@ public class AltUnityObject {
public String callComponentMethod(String assemblyName, String componentName, String methodName, String parameters, String typeOfParameters) {
String altObject = new Gson().toJson(this);
String actionInfo = new Gson().toJson(new AltUnityObjectAction(assemblyName, componentName, methodName, parameters, typeOfParameters));
String actionInfo = new Gson().toJson(new AltUnityObjectAction(componentName,methodName,parameters,typeOfParameters,assemblyName));
altUnityDriver.send(altUnityDriver.CreateCommand("callComponentMethodForObject",altObject ,actionInfo ));
String data = altUnityDriver.recvall();
if (!data.contains("error:")) return data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment