Skip to content

Commit 6279dd8

Browse files
committed
match the right string
1 parent bfbe4d8 commit 6279dd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/AndroidIl2cppPatchDemo/Editor/AndroidBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ public static bool PatchAndroidProject()
184184
@"import android.view.WindowManager;
185185
import io.github.noodle1983.Boostrap;");
186186

187-
allJavaText = allJavaText.Replace("mUnityPlayer = new UnityPlayer(this,this);",
187+
allJavaText = allJavaText.Replace("mUnityPlayer = new UnityPlayer(this, this);",
188188
@"Boostrap.InitNativeLibBeforeUnityPlay(getApplication().getApplicationContext().getFilesDir().getPath());
189-
mUnityPlayer = new UnityPlayer(this,this);");
189+
mUnityPlayer = new UnityPlayer(this, this);");
190190
File.WriteAllText(javaEntranceFile, allJavaText);
191191

192192
// generate removal test file

0 commit comments

Comments
 (0)