Unity Plugin For Joiplay Here

var ray = Camera.main.ScreenPointToRay(screenPos); // Send mouse event (simplified) var evt = new PointerEventData(EventSystem.current); evt.position = screenPos; evt.button = button == 0 ? PointerEventData.InputButton.Left : PointerEventData.InputButton.Right; ExecuteEvents.Execute(evt.pointerPress, evt, ExecuteEvents.pointerClickHandler);

A “Unity Plugin for JoiPlay” is not a binary library but a scripting layer that adapts your existing Unity game to JoiPlay’s non-standard environment. By adding detection, input remapping, save redirection, and back-button handling, you can make your PC-targeted Unity game playable on Android via JoiPlay with minimal friction. Unity Plugin For Joiplay

string joiSavePath = Path.Combine( Application.externalStorageDirectory, "Android/data/com.joiplay.joiplay/files/MyGameSaves" ); if (!Directory.Exists(joiSavePath)) Directory.CreateDirectory(joiSavePath); // Override persistentDataPath (read-only property — use reflection OR change your save logic) // Simpler: replace every Application.persistentDataPath with custom getter. SaveManager.CustomSavePath = joiSavePath; var ray = Camera

if (!JoiPlayDetector.IsRunningOnJoiPlay()) return; string joiSavePath = Path

using System.IO; using UnityEngine; public class JoiPlaySaveRedirect : MonoBehaviour

using UnityEngine; public static class JoiPlayDetector

Unity Plugin For Joiplay