Description
Describe the bug
I am sending some data in an array from flutter app to unity and want to rotate game object using coroutine. I have successfully rotated the object in while putting array data directly in c sharp. Now I want to send that array from flutter to unity and want to rotate a game object. For example if I say in angle I want to rotate from x=0 degree to x=90 while y and z values can also be there.
Expected behavior
VID20230925094339______muted.1.mp4
**Flutter Version
Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f468f3366c (8 weeks ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1
Screenshots
If applicable, add screenshots to help explain your problem.
Unity (please complete the following information):
- OS: Android
- Version 2022.3.7f1.0.15853
Smartphone (please complete the following information):
- Device: Oppo Ak1
- OS: ColorOS Version v6.0.1
- Version Android 9
Additional context
void setRotation() { var frameData = [ "Orient: x= 0.00 | y= 0.00 | z= 0", "Orient: x= 90.00 | y= 0.00 | z= 0" ]; _unityWidgetController.postMessage( 'myCricketBat', 'StartRotation', frameData, ); }