Skip to content

Commit 651f6d0

Browse files
committed
match the right string
1 parent 24da07a commit 651f6d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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
return true;
192192
}

0 commit comments

Comments
 (0)