Skip to content

Commit 46a2350

Browse files
committed
Remove Android's white background color in UnityWidgetController.kt
1 parent a3314ee commit 46a2350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/kotlin/com/xraph/plugin/flutter_unity_widget/FlutterUnityWidgetController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class FlutterUnityWidgetController(
5757
if (context != null) tempContext = context
5858
// set layout view
5959
view = FrameLayout(tempContext)
60-
view.setBackgroundColor(Color.WHITE)
60+
view.setBackgroundColor(Color.TRANSPARENT)
6161

6262
// setup method channel
6363
methodChannel = MethodChannel(binaryMessenger, "plugin.xraph.com/unity_view_$id")

0 commit comments

Comments
 (0)