void Start() { int a = 70; int b = 7; int result = NativePluginSample.AddInt(a, b); ShowMessage("NativePluginSample\n" + a + " + " + b + " = " + result); }
void Test() { var msg = "Plugin load.."; textMesh.text = msg; Debug.Log(msg); NativePluginSample.Func1(); var i = NativePluginSample.Func2(9); msg = string.Format("FugaFunction \r\n returns \r\n \"{0}\"", i); Debug.Log(msg); textMesh.text = msg; }